apmconfig

package
v52.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain
	// spans don't get an Apdex score. The default is "true".
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

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

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

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

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

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

func (Apdex) String

func (m Apdex) String() string

type ApdexRules

type ApdexRules struct {

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

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

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

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

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

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

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

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

func (ApdexRules) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (ApdexRules) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (ApdexRules) GetId

func (m ApdexRules) GetId() *string

GetId returns Id

func (ApdexRules) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ApdexRules) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (ApdexRules) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRules) String

func (m ApdexRules) String() string

type ApdexRulesSummary

type ApdexRulesSummary struct {

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

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

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

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

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

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

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

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

func (ApdexRulesSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (ApdexRulesSummary) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (ApdexRulesSummary) GetId

func (m ApdexRulesSummary) GetId() *string

GetId returns Id

func (ApdexRulesSummary) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (ApdexRulesSummary) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (ApdexRulesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (ApdexRulesSummary) String

func (m ApdexRulesSummary) String() string

type Config

type Config interface {

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

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

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

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

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

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

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

func (ConfigClient) DeleteConfig

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

DeleteConfig Deletes the specified configuration item

See also

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

func (ConfigClient) GetConfig

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

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

See also

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

func (ConfigClient) ListConfigs

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

ListConfigs Returns all configured items optionally filtered by configuration type

See also

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

func (*ConfigClient) SetRegion

func (client *ConfigClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ConfigClient) UpdateConfig

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

UpdateConfig Updates the item.

See also

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

type ConfigCollection

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

ConfigCollection A collection of configuration entities

func (ConfigCollection) String

func (m ConfigCollection) String() string

func (*ConfigCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type ConfigSummary

type ConfigSummary interface {

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

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

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

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

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

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

type ConfigTypesEnum

type ConfigTypesEnum string

ConfigTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConfigTypesEnum

func GetConfigTypesEnumValues

func GetConfigTypesEnumValues() []ConfigTypesEnum

GetConfigTypesEnumValues Enumerates the set of values for ConfigTypesEnum

type CreateApdexRulesDetails

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

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

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

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

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

func (CreateApdexRulesDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (CreateApdexRulesDetails) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (CreateApdexRulesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateApdexRulesDetails) String

func (m CreateApdexRulesDetails) String() string

type CreateConfigDetails

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 entities. It must specify the configuration type of the item to create, 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 describing the new item
	CreateConfigDetails `contributesTo:"body"`

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

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

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

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

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

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 of this metric group
	DisplayName *string `mandatory:"true" json:"displayName"`

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

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

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

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

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

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

CreateMetricGroupDetails A Metric Group.

func (CreateMetricGroupDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (CreateMetricGroupDetails) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (CreateMetricGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateMetricGroupDetails) String

func (m CreateMetricGroupDetails) String() string

type CreateSpanFilterDetails

type CreateSpanFilterDetails struct {

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

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

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

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

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

CreateSpanFilterDetails A span filter is a named setting that specifies 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

type DeleteConfigRequest

type DeleteConfigRequest struct {

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

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

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

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

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

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

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 dimension name
	Name *string `mandatory:"true" json:"name"`

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

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

func (Dimension) String

func (m Dimension) String() string

type GetConfigRequest

type GetConfigRequest struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type Metric

type Metric struct {

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

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

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

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

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

func (Metric) String

func (m Metric) String() string

type MetricGroup

type MetricGroup struct {

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

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

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

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

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

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

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

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

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

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

MetricGroup A Metric Group.

func (MetricGroup) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (MetricGroup) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (MetricGroup) GetId

func (m MetricGroup) GetId() *string

GetId returns Id

func (MetricGroup) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (MetricGroup) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (MetricGroup) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroup) String

func (m MetricGroup) String() string

type MetricGroupSummary

type MetricGroupSummary struct {

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

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

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

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

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

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

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

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

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

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

MetricGroupSummary A Metric Group.

func (MetricGroupSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (MetricGroupSummary) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (MetricGroupSummary) GetId

func (m MetricGroupSummary) GetId() *string

GetId returns Id

func (MetricGroupSummary) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (MetricGroupSummary) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (MetricGroupSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (MetricGroupSummary) String

func (m MetricGroupSummary) String() string

type SortOrdersEnum

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 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 will be generated
	// when the item is created.
	Id *string `mandatory:"false" json:"id"`

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

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

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

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

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

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

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

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

func (SpanFilter) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (SpanFilter) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (SpanFilter) GetId

func (m SpanFilter) GetId() *string

GetId returns Id

func (SpanFilter) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (SpanFilter) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (SpanFilter) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilter) String

func (m SpanFilter) String() string

type SpanFilterSummary

type SpanFilterSummary struct {

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

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

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

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

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

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

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

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

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

func (SpanFilterSummary) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (SpanFilterSummary) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (SpanFilterSummary) GetId

func (m SpanFilterSummary) GetId() *string

GetId returns Id

func (SpanFilterSummary) GetTimeCreated

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

GetTimeCreated returns TimeCreated

func (SpanFilterSummary) GetTimeUpdated

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

GetTimeUpdated returns TimeUpdated

func (SpanFilterSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (SpanFilterSummary) String

func (m SpanFilterSummary) String() string

type UpdateApdexRulesDetails

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

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

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

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

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

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 entity. 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 of the ConfiguredItem.
	ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"`

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

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

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

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

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

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

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 of this metric group
	DisplayName *string `mandatory:"false" json:"displayName"`

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

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

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

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

UpdateMetricGroupDetails A Metric Group.

func (UpdateMetricGroupDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (UpdateMetricGroupDetails) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (UpdateMetricGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateMetricGroupDetails) String

func (m UpdateMetricGroupDetails) String() string

type UpdateSpanFilterDetails

type UpdateSpanFilterDetails struct {

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

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

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

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

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

UpdateSpanFilterDetails A span filter is a named setting that specifies 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

Jump to

Keyboard shortcuts

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