insights

package
v19.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package implements the Azure ARM service API version v1.

Composite Swagger for Application Insights Data Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service
	DefaultBaseURI = "https://api.applicationinsights.io/v1"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
	AppID   string
}

BaseClient is the base client for .

func New

func New(appID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, appID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) GetEventMethod

func (client BaseClient) GetEventMethod(ctx context.Context, eventType EventTypeEnum, eventID string, timespan *string) (result EventsResultsType, err error)

GetEventMethod gets the data for a single event

eventType is the type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types. eventID is ID of event. timespan is optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.

func (BaseClient) GetEventMethodPreparer

func (client BaseClient) GetEventMethodPreparer(ctx context.Context, eventType EventTypeEnum, eventID string, timespan *string) (*http.Request, error)

GetEventMethodPreparer prepares the GetEventMethod request.

func (BaseClient) GetEventMethodResponder

func (client BaseClient) GetEventMethodResponder(resp *http.Response) (result EventsResultsType, err error)

GetEventMethodResponder handles the response to the GetEventMethod request. The method always closes the http.Response Body.

func (BaseClient) GetEventMethodSender

func (client BaseClient) GetEventMethodSender(req *http.Request) (*http.Response, error)

GetEventMethodSender sends the GetEventMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetEventsMetadataODataMethod

func (client BaseClient) GetEventsMetadataODataMethod(ctx context.Context) (result SetObjectType, err error)

GetEventsMetadataODataMethod gets OData EDMX metadata describing the event data model

func (BaseClient) GetEventsMetadataODataMethodPreparer

func (client BaseClient) GetEventsMetadataODataMethodPreparer(ctx context.Context) (*http.Request, error)

GetEventsMetadataODataMethodPreparer prepares the GetEventsMetadataODataMethod request.

func (BaseClient) GetEventsMetadataODataMethodResponder

func (client BaseClient) GetEventsMetadataODataMethodResponder(resp *http.Response) (result SetObjectType, err error)

GetEventsMetadataODataMethodResponder handles the response to the GetEventsMetadataODataMethod request. The method always closes the http.Response Body.

func (BaseClient) GetEventsMetadataODataMethodSender

func (client BaseClient) GetEventsMetadataODataMethodSender(req *http.Request) (*http.Response, error)

GetEventsMetadataODataMethodSender sends the GetEventsMetadataODataMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetEventsMethod

func (client BaseClient) GetEventsMethod(ctx context.Context, eventType EventTypeEnum, timespan *string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (result EventsResultsType, err error)

GetEventsMethod executes an OData query for events

eventType is the type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types. timespan is optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression. filter is an expression used to filter the returned events search is a free-text search expression to match for whether a particular event should be returned orderby is a comma-separated list of properties with \"asc\" (the default) or \"desc\" to control the order of returned events selectParameter is limits the properties to just those requested on each returned event skip is the number of items to skip over before returning events top is the number of events to return formatParameter is format for the returned events count is request a count of matching items included with the returned events apply is an expression used for aggregation over returned events

func (BaseClient) GetEventsMethodPreparer

func (client BaseClient) GetEventsMethodPreparer(ctx context.Context, eventType EventTypeEnum, timespan *string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (*http.Request, error)

GetEventsMethodPreparer prepares the GetEventsMethod request.

func (BaseClient) GetEventsMethodResponder

func (client BaseClient) GetEventsMethodResponder(resp *http.Response) (result EventsResultsType, err error)

GetEventsMethodResponder handles the response to the GetEventsMethod request. The method always closes the http.Response Body.

func (BaseClient) GetEventsMethodSender

func (client BaseClient) GetEventsMethodSender(req *http.Request) (*http.Response, error)

GetEventsMethodSender sends the GetEventsMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetMetricMethod

func (client BaseClient) GetMetricMethod(ctx context.Context, metricID string, timespan *string, interval *string, aggregation []string, segment []string, top *int32, orderby string, filter string) (result MetricsResultType, err error)

GetMetricMethod gets data for a single metric.

metricID is ID of the metric. This is either a standard AI metric, or an application-specific custom metric. timespan is the timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` ("last 12 hours") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response. interval is the time interval to use when retrieving metric values. This is an ISO8601 duration. If interval is omitted, the metric value is aggregated across the entire timespan. If interval is supplied, the server may adjust the interval to a more appropriate size based on the timespan used for the query. In all cases, the actual interval used for the query is included in the response. aggregation is the aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used. segment is the name of the dimension to segment the metric values by. This dimension must be applicable to the metric you are retrieving. To segment by more than one dimension at a time, separate them with a comma (,). In this case, the metric data will be segmented in the order the dimensions are listed in the parameter. top is the number of segments to return. This value is only valid when segment is specified. orderby is the aggregation function and direction to sort the segments by. This value is only valid when segment is specified. filter is an expression used to filter the results. This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.

func (BaseClient) GetMetricMethodPreparer

func (client BaseClient) GetMetricMethodPreparer(ctx context.Context, metricID string, timespan *string, interval *string, aggregation []string, segment []string, top *int32, orderby string, filter string) (*http.Request, error)

GetMetricMethodPreparer prepares the GetMetricMethod request.

func (BaseClient) GetMetricMethodResponder

func (client BaseClient) GetMetricMethodResponder(resp *http.Response) (result MetricsResultType, err error)

GetMetricMethodResponder handles the response to the GetMetricMethod request. The method always closes the http.Response Body.

func (BaseClient) GetMetricMethodSender

func (client BaseClient) GetMetricMethodSender(req *http.Request) (*http.Response, error)

GetMetricMethodSender sends the GetMetricMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetMetricsMetadataMethod

func (client BaseClient) GetMetricsMetadataMethod(ctx context.Context) (result SetObjectType, err error)

GetMetricsMetadataMethod gets metadata describing the available metrics

func (BaseClient) GetMetricsMetadataMethodPreparer

func (client BaseClient) GetMetricsMetadataMethodPreparer(ctx context.Context) (*http.Request, error)

GetMetricsMetadataMethodPreparer prepares the GetMetricsMetadataMethod request.

func (BaseClient) GetMetricsMetadataMethodResponder

func (client BaseClient) GetMetricsMetadataMethodResponder(resp *http.Response) (result SetObjectType, err error)

GetMetricsMetadataMethodResponder handles the response to the GetMetricsMetadataMethod request. The method always closes the http.Response Body.

func (BaseClient) GetMetricsMetadataMethodSender

func (client BaseClient) GetMetricsMetadataMethodSender(req *http.Request) (*http.Response, error)

GetMetricsMetadataMethodSender sends the GetMetricsMetadataMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetMetricsMethod

func (client BaseClient) GetMetricsMethod(ctx context.Context, body []MetricsPostBodySchemaType) (result ListMetricsResultsItemType, err error)

GetMetricsMethod gets metric values for multiple metrics

body is the batched metrics query.

func (BaseClient) GetMetricsMethodPreparer

func (client BaseClient) GetMetricsMethodPreparer(ctx context.Context, body []MetricsPostBodySchemaType) (*http.Request, error)

GetMetricsMethodPreparer prepares the GetMetricsMethod request.

func (BaseClient) GetMetricsMethodResponder

func (client BaseClient) GetMetricsMethodResponder(resp *http.Response) (result ListMetricsResultsItemType, err error)

GetMetricsMethodResponder handles the response to the GetMetricsMethod request. The method always closes the http.Response Body.

func (BaseClient) GetMetricsMethodSender

func (client BaseClient) GetMetricsMethodSender(req *http.Request) (*http.Response, error)

GetMetricsMethodSender sends the GetMetricsMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetQueryMethod

func (client BaseClient) GetQueryMethod(ctx context.Context, query string, timespan *string) (result QueryResultsType, err error)

GetQueryMethod executes an Analytics query for data

query is the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) timespan is optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

func (BaseClient) GetQueryMethodPreparer

func (client BaseClient) GetQueryMethodPreparer(ctx context.Context, query string, timespan *string) (*http.Request, error)

GetQueryMethodPreparer prepares the GetQueryMethod request.

func (BaseClient) GetQueryMethodResponder

func (client BaseClient) GetQueryMethodResponder(resp *http.Response) (result QueryResultsType, err error)

GetQueryMethodResponder handles the response to the GetQueryMethod request. The method always closes the http.Response Body.

func (BaseClient) GetQueryMethodSender

func (client BaseClient) GetQueryMethodSender(req *http.Request) (*http.Response, error)

GetQueryMethodSender sends the GetQueryMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetQuerySchemaMethod

func (client BaseClient) GetQuerySchemaMethod(ctx context.Context) (result QueryResultsType, err error)

GetQuerySchemaMethod gets Analytics query schema describing the data model

func (BaseClient) GetQuerySchemaMethodPreparer

func (client BaseClient) GetQuerySchemaMethodPreparer(ctx context.Context) (*http.Request, error)

GetQuerySchemaMethodPreparer prepares the GetQuerySchemaMethod request.

func (BaseClient) GetQuerySchemaMethodResponder

func (client BaseClient) GetQuerySchemaMethodResponder(resp *http.Response) (result QueryResultsType, err error)

GetQuerySchemaMethodResponder handles the response to the GetQuerySchemaMethod request. The method always closes the http.Response Body.

func (BaseClient) GetQuerySchemaMethodSender

func (client BaseClient) GetQuerySchemaMethodSender(req *http.Request) (*http.Response, error)

GetQuerySchemaMethodSender sends the GetQuerySchemaMethod request. The method will close the http.Response Body if it receives an error.

func (BaseClient) QueryMethod

func (client BaseClient) QueryMethod(ctx context.Context, body QueryBodyType, timespan *string) (result QueryResultsType, err error)

QueryMethod executes an Analytics query for data. [Here](/documentation/2-Using-the-API/Query) is an example for using POST with an Analytics query.

body is the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) timespan is optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

func (BaseClient) QueryMethodPreparer

func (client BaseClient) QueryMethodPreparer(ctx context.Context, body QueryBodyType, timespan *string) (*http.Request, error)

QueryMethodPreparer prepares the QueryMethod request.

func (BaseClient) QueryMethodResponder

func (client BaseClient) QueryMethodResponder(resp *http.Response) (result QueryResultsType, err error)

QueryMethodResponder handles the response to the QueryMethod request. The method always closes the http.Response Body.

func (BaseClient) QueryMethodSender

func (client BaseClient) QueryMethodSender(req *http.Request) (*http.Response, error)

QueryMethodSender sends the QueryMethod request. The method will close the http.Response Body if it receives an error.

type BasicEventsResultDataType

type BasicEventsResultDataType interface {
	AsEventsTraceResultType() (*EventsTraceResultType, bool)
	AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)
	AsEventsPageViewResultType() (*EventsPageViewResultType, bool)
	AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)
	AsEventsRequestResultType() (*EventsRequestResultType, bool)
	AsEventsDependencyResultType() (*EventsDependencyResultType, bool)
	AsEventsExceptionResultType() (*EventsExceptionResultType, bool)
	AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)
	AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)
	AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)
	AsEventsResultDataType() (*EventsResultDataType, bool)
}

BasicEventsResultDataType events query result data.

type ColumnType

type ColumnType struct {
	// Name - The name of this column.
	Name *string `json:"name,omitempty"`
	// Type - The data type of this column.
	Type *string `json:"type,omitempty"`
}

ColumnType a column in a table.

type ErrorDetailType

type ErrorDetailType struct {
	// Code - The error's code.
	Code *string `json:"code,omitempty"`
	// Message - A human readable error message.
	Message *string `json:"message,omitempty"`
	// Target - Indicates which property in the request is responsible for the error.
	Target *string `json:"target,omitempty"`
	// Value - Indicates which value in 'target' is responsible for the error.
	Value *string `json:"value,omitempty"`
	// Resources - Indicates resources which were responsible for the error.
	Resources            *[]string   `json:"resources,omitempty"`
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

ErrorDetailType ...

type ErrorInfoType

type ErrorInfoType struct {
	// Code - A machine readable error code.
	Code *string `json:"code,omitempty"`
	// Message - A human readable error message.
	Message *string `json:"message,omitempty"`
	// Details - error details.
	Details *[]ErrorDetailType `json:"details,omitempty"`
	// Innererror - Inner error details if they exist.
	Innererror           *ErrorInfoType `json:"innererror,omitempty"`
	AdditionalProperties interface{}    `json:"additionalProperties,omitempty"`
}

ErrorInfoType ...

type ErrorResponseType

type ErrorResponseType struct {
	// Error - The error details.
	Error *ErrorInfoType `json:"error,omitempty"`
}

ErrorResponseType contains details when the response code indicates an error.

type EventTypeEnum

type EventTypeEnum string

EventTypeEnum enumerates the values for event type enum.

const (
	// All ...
	All EventTypeEnum = "$all"
	// AvailabilityResults ...
	AvailabilityResults EventTypeEnum = "availabilityResults"
	// BrowserTimings ...
	BrowserTimings EventTypeEnum = "browserTimings"
	// CustomEvents ...
	CustomEvents EventTypeEnum = "customEvents"
	// CustomMetrics ...
	CustomMetrics EventTypeEnum = "customMetrics"
	// Dependencies ...
	Dependencies EventTypeEnum = "dependencies"
	// Exceptions ...
	Exceptions EventTypeEnum = "exceptions"
	// PageViews ...
	PageViews EventTypeEnum = "pageViews"
	// PerformanceCounters ...
	PerformanceCounters EventTypeEnum = "performanceCounters"
	// Requests ...
	Requests EventTypeEnum = "requests"
	// Traces ...
	Traces EventTypeEnum = "traces"
)

type EventsAiInfoType

type EventsAiInfoType struct {
	// IKey - iKey of the app
	IKey *string `json:"iKey,omitempty"`
	// AppName - Name of the application
	AppName *string `json:"appName,omitempty"`
	// AppID - ID of the application
	AppID *string `json:"appId,omitempty"`
	// SdkVersion - SDK version of the application
	SdkVersion *string `json:"sdkVersion,omitempty"`
}

EventsAiInfoType AI related application info for an event result

type EventsApplicationInfoType

type EventsApplicationInfoType struct {
	// Version - Version of the application
	Version *string `json:"version,omitempty"`
}

EventsApplicationInfoType application info for an event result

type EventsAvailabilityResultInfoType

type EventsAvailabilityResultInfoType struct {
	// Name - The name of the availability result
	Name *string `json:"name,omitempty"`
	// Success - Indicates if the availability result was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the availability result
	Duration *int64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the availability result
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// Message - The message of the availability result
	Message *string `json:"message,omitempty"`
	// Location - The location of the availability result
	Location *string `json:"location,omitempty"`
	// ID - The ID of the availability result
	ID *string `json:"id,omitempty"`
	// Size - The size of the availability result
	Size *string `json:"size,omitempty"`
}

EventsAvailabilityResultInfoType the availability result info

type EventsAvailabilityResultResultType

type EventsAvailabilityResultResultType struct {
	AvailabilityResult *EventsAvailabilityResultInfoType `json:"availabilityResult,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsAvailabilityResultResultType an availability result result

func (EventsAvailabilityResultResultType) AsBasicEventsResultDataType

func (earrt EventsAvailabilityResultResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsAvailabilityResultResultType

func (earrt EventsAvailabilityResultResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsBrowserTimingResultType

func (earrt EventsAvailabilityResultResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsCustomEventResultType

func (earrt EventsAvailabilityResultResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsCustomMetricResultType

func (earrt EventsAvailabilityResultResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsDependencyResultType

func (earrt EventsAvailabilityResultResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsExceptionResultType

func (earrt EventsAvailabilityResultResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsPageViewResultType

func (earrt EventsAvailabilityResultResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsPerformanceCounterResultType

func (earrt EventsAvailabilityResultResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsRequestResultType

func (earrt EventsAvailabilityResultResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsResultDataType

func (earrt EventsAvailabilityResultResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) AsEventsTraceResultType

func (earrt EventsAvailabilityResultResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsAvailabilityResultResultType.

func (EventsAvailabilityResultResultType) MarshalJSON

func (earrt EventsAvailabilityResultResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsAvailabilityResultResultType.

type EventsBrowserTimingInfoType

type EventsBrowserTimingInfoType struct {
	// URLPath - The path of the URL
	URLPath *string `json:"urlPath,omitempty"`
	// URLHost - The host of the URL
	URLHost *string `json:"urlHost,omitempty"`
	// Name - The name of the page
	Name *string `json:"name,omitempty"`
	// URL - The url of the page
	URL *string `json:"url,omitempty"`
	// TotalDuration - The total duration of the load
	TotalDuration *int64 `json:"totalDuration,omitempty"`
	// PerformanceBucket - The performance bucket of the load
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// NetworkDuration - The network duration of the load
	NetworkDuration *int64 `json:"networkDuration,omitempty"`
	// SendDuration - The send duration of the load
	SendDuration *int64 `json:"sendDuration,omitempty"`
	// ReceiveDuration - The receive duration of the load
	ReceiveDuration *int64 `json:"receiveDuration,omitempty"`
	// ProcessingDuration - The processing duration of the load
	ProcessingDuration *int64 `json:"processingDuration,omitempty"`
}

EventsBrowserTimingInfoType the browser timing information

type EventsBrowserTimingResultType

type EventsBrowserTimingResultType struct {
	BrowserTiming     *EventsBrowserTimingInfoType     `json:"browserTiming,omitempty"`
	ClientPerformance *EventsClientPerformanceInfoType `json:"clientPerformance,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsBrowserTimingResultType a browser timing result

func (EventsBrowserTimingResultType) AsBasicEventsResultDataType

func (ebtrt EventsBrowserTimingResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsAvailabilityResultResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsBrowserTimingResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsCustomEventResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsCustomMetricResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsDependencyResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsExceptionResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsPageViewResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsPerformanceCounterResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsRequestResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsResultDataType

func (ebtrt EventsBrowserTimingResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) AsEventsTraceResultType

func (ebtrt EventsBrowserTimingResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsBrowserTimingResultType.

func (EventsBrowserTimingResultType) MarshalJSON

func (ebtrt EventsBrowserTimingResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsBrowserTimingResultType.

type EventsClientInfoType

type EventsClientInfoType struct {
	// Model - Model of the client
	Model *string `json:"model,omitempty"`
	// Os - Operating system of the client
	Os *string `json:"os,omitempty"`
	// Type - Type of the client
	Type *string `json:"type,omitempty"`
	// Browser - Browser of the client
	Browser *string `json:"browser,omitempty"`
	// IP - IP address of the client
	IP *string `json:"ip,omitempty"`
	// City - City of the client
	City *string `json:"city,omitempty"`
	// StateOrProvince - State or province of the client
	StateOrProvince *string `json:"stateOrProvince,omitempty"`
	// CountryOrRegion - Country or region of the client
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
}

EventsClientInfoType client info for an event result

type EventsClientPerformanceInfoType

type EventsClientPerformanceInfoType struct {
	// Name - The name of the client performance
	Name *string `json:"name,omitempty"`
}

EventsClientPerformanceInfoType client performance information

type EventsCloudInfoType

type EventsCloudInfoType struct {
	// RoleName - Role name of the cloud
	RoleName *string `json:"roleName,omitempty"`
	// RoleInstance - Role instance of the cloud
	RoleInstance *string `json:"roleInstance,omitempty"`
}

EventsCloudInfoType cloud info for an event result

type EventsCustomEventInfoType

type EventsCustomEventInfoType struct {
	// Name - The name of the custom event
	Name *string `json:"name,omitempty"`
}

EventsCustomEventInfoType the custom event information

type EventsCustomEventResultType

type EventsCustomEventResultType struct {
	CustomEvent *EventsCustomEventInfoType `json:"customEvent,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsCustomEventResultType a custom event result

func (EventsCustomEventResultType) AsBasicEventsResultDataType

func (ecert EventsCustomEventResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsAvailabilityResultResultType

func (ecert EventsCustomEventResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsBrowserTimingResultType

func (ecert EventsCustomEventResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsCustomEventResultType

func (ecert EventsCustomEventResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsCustomMetricResultType

func (ecert EventsCustomEventResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsDependencyResultType

func (ecert EventsCustomEventResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsExceptionResultType

func (ecert EventsCustomEventResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsPageViewResultType

func (ecert EventsCustomEventResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsPerformanceCounterResultType

func (ecert EventsCustomEventResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsRequestResultType

func (ecert EventsCustomEventResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsResultDataType

func (ecert EventsCustomEventResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) AsEventsTraceResultType

func (ecert EventsCustomEventResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsCustomEventResultType.

func (EventsCustomEventResultType) MarshalJSON

func (ecert EventsCustomEventResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomEventResultType.

type EventsCustomMetricInfoType

type EventsCustomMetricInfoType struct {
	// Name - The name of the custom metric
	Name *string `json:"name,omitempty"`
	// Value - The value of the custom metric
	Value *float64 `json:"value,omitempty"`
	// ValueSum - The sum of the custom metric
	ValueSum *float64 `json:"valueSum,omitempty"`
	// ValueCount - The count of the custom metric
	ValueCount *float64 `json:"valueCount,omitempty"`
	// ValueMin - The minimum value of the custom metric
	ValueMin *float64 `json:"valueMin,omitempty"`
	// ValueMax - The maximum value of the custom metric
	ValueMax *float64 `json:"valueMax,omitempty"`
	// ValueStdDev - The standard deviation of the custom metric
	ValueStdDev *float64 `json:"valueStdDev,omitempty"`
}

EventsCustomMetricInfoType the custom metric info

type EventsCustomMetricResultType

type EventsCustomMetricResultType struct {
	CustomMetric *EventsCustomMetricInfoType `json:"customMetric,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsCustomMetricResultType a custom metric result

func (EventsCustomMetricResultType) AsBasicEventsResultDataType

func (ecmrt EventsCustomMetricResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsAvailabilityResultResultType

func (ecmrt EventsCustomMetricResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsBrowserTimingResultType

func (ecmrt EventsCustomMetricResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsCustomEventResultType

func (ecmrt EventsCustomMetricResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsCustomMetricResultType

func (ecmrt EventsCustomMetricResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsDependencyResultType

func (ecmrt EventsCustomMetricResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsExceptionResultType

func (ecmrt EventsCustomMetricResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsPageViewResultType

func (ecmrt EventsCustomMetricResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsPerformanceCounterResultType

func (ecmrt EventsCustomMetricResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsRequestResultType

func (ecmrt EventsCustomMetricResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsResultDataType

func (ecmrt EventsCustomMetricResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) AsEventsTraceResultType

func (ecmrt EventsCustomMetricResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsCustomMetricResultType.

func (EventsCustomMetricResultType) MarshalJSON

func (ecmrt EventsCustomMetricResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomMetricResultType.

type EventsDependencyInfoType

type EventsDependencyInfoType struct {
	// Target - The target of the dependency
	Target *string `json:"target,omitempty"`
	// Data - The data of the dependency
	Data *string `json:"data,omitempty"`
	// Success - Indicates if the dependency was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the dependency
	Duration *int64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the dependency
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// ResultCode - The result code of the dependency
	ResultCode *string `json:"resultCode,omitempty"`
	// Type - The type of the dependency
	Type *string `json:"type,omitempty"`
	// Name - The name of the dependency
	Name *string `json:"name,omitempty"`
	// ID - The ID of the dependency
	ID *string `json:"id,omitempty"`
}

EventsDependencyInfoType the dependency info

type EventsDependencyResultType

type EventsDependencyResultType struct {
	Dependency *EventsDependencyInfoType `json:"dependency,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsDependencyResultType a dependency result

func (EventsDependencyResultType) AsBasicEventsResultDataType

func (edrt EventsDependencyResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsAvailabilityResultResultType

func (edrt EventsDependencyResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsBrowserTimingResultType

func (edrt EventsDependencyResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsCustomEventResultType

func (edrt EventsDependencyResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsCustomMetricResultType

func (edrt EventsDependencyResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsDependencyResultType

func (edrt EventsDependencyResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsExceptionResultType

func (edrt EventsDependencyResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsPageViewResultType

func (edrt EventsDependencyResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsPerformanceCounterResultType

func (edrt EventsDependencyResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsRequestResultType

func (edrt EventsDependencyResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsResultDataType

func (edrt EventsDependencyResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) AsEventsTraceResultType

func (edrt EventsDependencyResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsDependencyResultType.

func (EventsDependencyResultType) MarshalJSON

func (edrt EventsDependencyResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsDependencyResultType.

type EventsExceptionDetailType

type EventsExceptionDetailType struct {
	// SeverityLevel - The severity level of the exception detail
	SeverityLevel *string `json:"severityLevel,omitempty"`
	// OuterID - The outer ID of the exception detail
	OuterID *string `json:"outerId,omitempty"`
	// Message - The message of the exception detail
	Message *string `json:"message,omitempty"`
	// Type - The type of the exception detail
	Type *string `json:"type,omitempty"`
	// ID - The ID of the exception detail
	ID *string `json:"id,omitempty"`
	// ParsedStack - The parsed stack
	ParsedStack *[]EventsExceptionDetailsParsedStackType `json:"parsedStack,omitempty"`
}

EventsExceptionDetailType exception details

type EventsExceptionDetailsParsedStackType

type EventsExceptionDetailsParsedStackType struct {
	// Assembly - The assembly of the stack entry
	Assembly *string `json:"assembly,omitempty"`
	// Method - The method of the stack entry
	Method *string `json:"method,omitempty"`
	// Level - The level of the stack entry
	Level *int64 `json:"level,omitempty"`
	// Line - The line of the stack entry
	Line *int64 `json:"line,omitempty"`
}

EventsExceptionDetailsParsedStackType a parsed stack entry

type EventsExceptionInfoType

type EventsExceptionInfoType struct {
	// SeverityLevel - The severity level of the exception
	SeverityLevel *int32 `json:"severityLevel,omitempty"`
	// ProblemID - The problem ID of the exception
	ProblemID *string `json:"problemId,omitempty"`
	// HandledAt - Indicates where the exception was handled at
	HandledAt *string `json:"handledAt,omitempty"`
	// Assembly - The assembly which threw the exception
	Assembly *string `json:"assembly,omitempty"`
	// Method - The method that threw the exception
	Method *string `json:"method,omitempty"`
	// Message - The message of the exception
	Message *string `json:"message,omitempty"`
	// Type - The type of the exception
	Type *string `json:"type,omitempty"`
	// OuterType - The outer type of the exception
	OuterType *string `json:"outerType,omitempty"`
	// OuterMethod - The outer method of the exception
	OuterMethod *string `json:"outerMethod,omitempty"`
	// OuterAssembly - The outer assmebly of the exception
	OuterAssembly *string `json:"outerAssembly,omitempty"`
	// OuterMessage - The outer message of the exception
	OuterMessage *string `json:"outerMessage,omitempty"`
	// InnermostType - The inner most type of the exception
	InnermostType *string `json:"innermostType,omitempty"`
	// InnermostMessage - The inner most message of the exception
	InnermostMessage *string `json:"innermostMessage,omitempty"`
	// InnermostMethod - The inner most method of the exception
	InnermostMethod *string `json:"innermostMethod,omitempty"`
	// InnermostAssembly - The inner most assembly of the exception
	InnermostAssembly *string `json:"innermostAssembly,omitempty"`
	// Details - The details of the exception
	Details *[]EventsExceptionDetailType `json:"details,omitempty"`
}

EventsExceptionInfoType the exception info

type EventsExceptionResultType

type EventsExceptionResultType struct {
	Exception *EventsExceptionInfoType `json:"exception,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsExceptionResultType an exception result

func (EventsExceptionResultType) AsBasicEventsResultDataType

func (eert EventsExceptionResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsAvailabilityResultResultType

func (eert EventsExceptionResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsBrowserTimingResultType

func (eert EventsExceptionResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsCustomEventResultType

func (eert EventsExceptionResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsCustomMetricResultType

func (eert EventsExceptionResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsDependencyResultType

func (eert EventsExceptionResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsExceptionResultType

func (eert EventsExceptionResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsPageViewResultType

func (eert EventsExceptionResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsPerformanceCounterResultType

func (eert EventsExceptionResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsRequestResultType

func (eert EventsExceptionResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsResultDataType

func (eert EventsExceptionResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) AsEventsTraceResultType

func (eert EventsExceptionResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsExceptionResultType.

func (EventsExceptionResultType) MarshalJSON

func (eert EventsExceptionResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsExceptionResultType.

type EventsOperationInfoType

type EventsOperationInfoType struct {
	// Name - Name of the operation
	Name *string `json:"name,omitempty"`
	// ID - ID of the operation
	ID *string `json:"id,omitempty"`
	// ParentID - Parent ID of the operation
	ParentID *string `json:"parentId,omitempty"`
	// SyntheticSource - Synthetic source of the operation
	SyntheticSource *string `json:"syntheticSource,omitempty"`
}

EventsOperationInfoType operation info for an event result

type EventsPageViewInfoType

type EventsPageViewInfoType struct {
	// Name - The name of the page
	Name *string `json:"name,omitempty"`
	// URL - The URL of the page
	URL *string `json:"url,omitempty"`
	// Duration - The duration of the page view
	Duration *string `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the page view
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
}

EventsPageViewInfoType the page view information

type EventsPageViewResultType

type EventsPageViewResultType struct {
	PageView *EventsPageViewInfoType `json:"pageView,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsPageViewResultType a page view result

func (EventsPageViewResultType) AsBasicEventsResultDataType

func (epvrt EventsPageViewResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsAvailabilityResultResultType

func (epvrt EventsPageViewResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsBrowserTimingResultType

func (epvrt EventsPageViewResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsCustomEventResultType

func (epvrt EventsPageViewResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsCustomMetricResultType

func (epvrt EventsPageViewResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsDependencyResultType

func (epvrt EventsPageViewResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsExceptionResultType

func (epvrt EventsPageViewResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsPageViewResultType

func (epvrt EventsPageViewResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsPerformanceCounterResultType

func (epvrt EventsPageViewResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsRequestResultType

func (epvrt EventsPageViewResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsResultDataType

func (epvrt EventsPageViewResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) AsEventsTraceResultType

func (epvrt EventsPageViewResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsPageViewResultType.

func (EventsPageViewResultType) MarshalJSON

func (epvrt EventsPageViewResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPageViewResultType.

type EventsPerformanceCounterInfoType

type EventsPerformanceCounterInfoType struct {
	// Value - The value of the performance counter
	Value *int64 `json:"value,omitempty"`
	// Name - The name of the performance counter
	Name *string `json:"name,omitempty"`
	// Category - The category of the performance counter
	Category *string `json:"category,omitempty"`
	// Counter - The counter of the performance counter
	Counter *string `json:"counter,omitempty"`
	// InstanceName - The instance name of the performance counter
	InstanceName *string `json:"instanceName,omitempty"`
	// Instance - The instance of the performance counter
	Instance *string `json:"instance,omitempty"`
}

EventsPerformanceCounterInfoType the performance counter info

type EventsPerformanceCounterResultType

type EventsPerformanceCounterResultType struct {
	PerformanceCounter *EventsPerformanceCounterInfoType `json:"performanceCounter,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsPerformanceCounterResultType a performance counter result

func (EventsPerformanceCounterResultType) AsBasicEventsResultDataType

func (epcrt EventsPerformanceCounterResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsAvailabilityResultResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsBrowserTimingResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsCustomEventResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsCustomMetricResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsDependencyResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsExceptionResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsPageViewResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsPerformanceCounterResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsRequestResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsResultDataType

func (epcrt EventsPerformanceCounterResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) AsEventsTraceResultType

func (epcrt EventsPerformanceCounterResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsPerformanceCounterResultType.

func (EventsPerformanceCounterResultType) MarshalJSON

func (epcrt EventsPerformanceCounterResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPerformanceCounterResultType.

type EventsRequestInfoType

type EventsRequestInfoType struct {
	// Name - The name of the request
	Name *string `json:"name,omitempty"`
	// URL - The URL of the request
	URL *string `json:"url,omitempty"`
	// Success - Indicates if the request was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the request
	Duration *float64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the request
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// ResultCode - The result code of the request
	ResultCode *string `json:"resultCode,omitempty"`
	// Source - The source of the request
	Source *string `json:"source,omitempty"`
	// ID - The ID of the request
	ID *string `json:"id,omitempty"`
}

EventsRequestInfoType the request info

type EventsRequestResultType

type EventsRequestResultType struct {
	Request *EventsRequestInfoType `json:"request,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsRequestResultType a request result

func (EventsRequestResultType) AsBasicEventsResultDataType

func (errt EventsRequestResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsAvailabilityResultResultType

func (errt EventsRequestResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsBrowserTimingResultType

func (errt EventsRequestResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsCustomEventResultType

func (errt EventsRequestResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsCustomMetricResultType

func (errt EventsRequestResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsDependencyResultType

func (errt EventsRequestResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsExceptionResultType

func (errt EventsRequestResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsPageViewResultType

func (errt EventsRequestResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsPerformanceCounterResultType

func (errt EventsRequestResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsRequestResultType

func (errt EventsRequestResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsResultDataType

func (errt EventsRequestResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) AsEventsTraceResultType

func (errt EventsRequestResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsRequestResultType.

func (EventsRequestResultType) MarshalJSON

func (errt EventsRequestResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsRequestResultType.

type EventsResultDataCustomDimensionsType

type EventsResultDataCustomDimensionsType struct {
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

EventsResultDataCustomDimensionsType custom dimensions of the event

type EventsResultDataCustomMeasurementsType

type EventsResultDataCustomMeasurementsType struct {
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

EventsResultDataCustomMeasurementsType custom measurements of the event

type EventsResultDataType

type EventsResultDataType struct {
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsResultDataType events query result data.

func (EventsResultDataType) AsBasicEventsResultDataType

func (erdt EventsResultDataType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsAvailabilityResultResultType

func (erdt EventsResultDataType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsBrowserTimingResultType

func (erdt EventsResultDataType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsCustomEventResultType

func (erdt EventsResultDataType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsCustomMetricResultType

func (erdt EventsResultDataType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsDependencyResultType

func (erdt EventsResultDataType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsExceptionResultType

func (erdt EventsResultDataType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsPageViewResultType

func (erdt EventsResultDataType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsPerformanceCounterResultType

func (erdt EventsResultDataType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsRequestResultType

func (erdt EventsResultDataType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsResultDataType

func (erdt EventsResultDataType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) AsEventsTraceResultType

func (erdt EventsResultDataType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsResultDataType.

func (EventsResultDataType) MarshalJSON

func (erdt EventsResultDataType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsResultDataType.

type EventsResultType

type EventsResultType struct {
	// AiMessages - OData messages for this response.
	AiMessages *[]ErrorInfoType          `json:"@ai.messages,omitempty"`
	Value      BasicEventsResultDataType `json:"value,omitempty"`
}

EventsResultType an event query result.

func (*EventsResultType) UnmarshalJSON

func (ert *EventsResultType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResultType struct.

type EventsResultsType

type EventsResultsType struct {
	autorest.Response `json:"-"`
	// OdataContext - OData context metadata endpoint for this response
	OdataContext *string `json:"@odata.context,omitempty"`
	// AiMessages - OData messages for this response.
	AiMessages *[]ErrorInfoType `json:"@ai.messages,omitempty"`
	// Value - Contents of the events query result.
	Value *[]BasicEventsResultDataType `json:"value,omitempty"`
}

EventsResultsType an events query result.

func (*EventsResultsType) UnmarshalJSON

func (ert *EventsResultsType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResultsType struct.

type EventsSessionInfoType

type EventsSessionInfoType struct {
	// ID - ID of the session
	ID *string `json:"id,omitempty"`
}

EventsSessionInfoType session info for an event result

type EventsTraceInfoType

type EventsTraceInfoType struct {
	// Message - The trace message
	Message *string `json:"message,omitempty"`
	// SeverityLevel - The trace severity level
	SeverityLevel *int32 `json:"severityLevel,omitempty"`
}

EventsTraceInfoType the trace information

type EventsTraceResultType

type EventsTraceResultType struct {
	Trace *EventsTraceInfoType `json:"trace,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensionsType `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurementsType `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfoType `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfoType `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfoType `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfoType `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfoType `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfoType `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfoType `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type TypeEnum `json:"type,omitempty"`
}

EventsTraceResultType a trace result

func (EventsTraceResultType) AsBasicEventsResultDataType

func (etrt EventsTraceResultType) AsBasicEventsResultDataType() (BasicEventsResultDataType, bool)

AsBasicEventsResultDataType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsAvailabilityResultResultType

func (etrt EventsTraceResultType) AsEventsAvailabilityResultResultType() (*EventsAvailabilityResultResultType, bool)

AsEventsAvailabilityResultResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsBrowserTimingResultType

func (etrt EventsTraceResultType) AsEventsBrowserTimingResultType() (*EventsBrowserTimingResultType, bool)

AsEventsBrowserTimingResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsCustomEventResultType

func (etrt EventsTraceResultType) AsEventsCustomEventResultType() (*EventsCustomEventResultType, bool)

AsEventsCustomEventResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsCustomMetricResultType

func (etrt EventsTraceResultType) AsEventsCustomMetricResultType() (*EventsCustomMetricResultType, bool)

AsEventsCustomMetricResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsDependencyResultType

func (etrt EventsTraceResultType) AsEventsDependencyResultType() (*EventsDependencyResultType, bool)

AsEventsDependencyResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsExceptionResultType

func (etrt EventsTraceResultType) AsEventsExceptionResultType() (*EventsExceptionResultType, bool)

AsEventsExceptionResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsPageViewResultType

func (etrt EventsTraceResultType) AsEventsPageViewResultType() (*EventsPageViewResultType, bool)

AsEventsPageViewResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsPerformanceCounterResultType

func (etrt EventsTraceResultType) AsEventsPerformanceCounterResultType() (*EventsPerformanceCounterResultType, bool)

AsEventsPerformanceCounterResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsRequestResultType

func (etrt EventsTraceResultType) AsEventsRequestResultType() (*EventsRequestResultType, bool)

AsEventsRequestResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsResultDataType

func (etrt EventsTraceResultType) AsEventsResultDataType() (*EventsResultDataType, bool)

AsEventsResultDataType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) AsEventsTraceResultType

func (etrt EventsTraceResultType) AsEventsTraceResultType() (*EventsTraceResultType, bool)

AsEventsTraceResultType is the BasicEventsResultDataType implementation for EventsTraceResultType.

func (EventsTraceResultType) MarshalJSON

func (etrt EventsTraceResultType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsTraceResultType.

type EventsUserInfoType

type EventsUserInfoType struct {
	// ID - ID of the user
	ID *string `json:"id,omitempty"`
	// AccountID - Account ID of the user
	AccountID *string `json:"accountId,omitempty"`
	// AuthenticatedID - Authenticated ID of the user
	AuthenticatedID *string `json:"authenticatedId,omitempty"`
}

EventsUserInfoType user info for an event result

type ListMetricsResultsItemType

type ListMetricsResultsItemType struct {
	autorest.Response `json:"-"`
	Value             *[]MetricsResultsItemType `json:"value,omitempty"`
}

ListMetricsResultsItemType ...

type MetricIDEnum

type MetricIDEnum string

MetricIDEnum enumerates the values for metric id enum.

const (
	// AvailabilityResultsavailabilityPercentage ...
	AvailabilityResultsavailabilityPercentage MetricIDEnum = "availabilityResults/availabilityPercentage"
	// AvailabilityResultsduration ...
	AvailabilityResultsduration MetricIDEnum = "availabilityResults/duration"
	// BillingtelemetryCount ...
	BillingtelemetryCount MetricIDEnum = "billing/telemetryCount"
	// ClientnetworkDuration ...
	ClientnetworkDuration MetricIDEnum = "client/networkDuration"
	// ClientprocessingDuration ...
	ClientprocessingDuration MetricIDEnum = "client/processingDuration"
	// ClientreceiveDuration ...
	ClientreceiveDuration MetricIDEnum = "client/receiveDuration"
	// ClientsendDuration ...
	ClientsendDuration MetricIDEnum = "client/sendDuration"
	// ClienttotalDuration ...
	ClienttotalDuration MetricIDEnum = "client/totalDuration"
	// CustomEventscount ...
	CustomEventscount MetricIDEnum = "customEvents/count"
	// Dependenciescount ...
	Dependenciescount MetricIDEnum = "dependencies/count"
	// Dependenciesduration ...
	Dependenciesduration MetricIDEnum = "dependencies/duration"
	// Dependenciesfailed ...
	Dependenciesfailed MetricIDEnum = "dependencies/failed"
	// Exceptionsbrowser ...
	Exceptionsbrowser MetricIDEnum = "exceptions/browser"
	// Exceptionscount ...
	Exceptionscount MetricIDEnum = "exceptions/count"
	// Exceptionsserver ...
	Exceptionsserver MetricIDEnum = "exceptions/server"
	// PageViewscount ...
	PageViewscount MetricIDEnum = "pageViews/count"
	// PageViewsduration ...
	PageViewsduration MetricIDEnum = "pageViews/duration"
	// PerformanceCountersexceptionsPerSecond ...
	PerformanceCountersexceptionsPerSecond MetricIDEnum = "performanceCounters/exceptionsPerSecond"
	// PerformanceCountersmemoryAvailableBytes ...
	PerformanceCountersmemoryAvailableBytes MetricIDEnum = "performanceCounters/memoryAvailableBytes"
	// PerformanceCountersprocessCPUPercentage ...
	PerformanceCountersprocessCPUPercentage MetricIDEnum = "performanceCounters/processCpuPercentage"
	// PerformanceCountersprocessIOBytesPerSecond ...
	PerformanceCountersprocessIOBytesPerSecond MetricIDEnum = "performanceCounters/processIOBytesPerSecond"
	// PerformanceCountersprocessorCPUPercentage ...
	PerformanceCountersprocessorCPUPercentage MetricIDEnum = "performanceCounters/processorCpuPercentage"
	// PerformanceCountersprocessPrivateBytes ...
	PerformanceCountersprocessPrivateBytes MetricIDEnum = "performanceCounters/processPrivateBytes"
	// PerformanceCountersrequestExecutionTime ...
	PerformanceCountersrequestExecutionTime MetricIDEnum = "performanceCounters/requestExecutionTime"
	// PerformanceCountersrequestsInQueue ...
	PerformanceCountersrequestsInQueue MetricIDEnum = "performanceCounters/requestsInQueue"
	// PerformanceCountersrequestsPerSecond ...
	PerformanceCountersrequestsPerSecond MetricIDEnum = "performanceCounters/requestsPerSecond"
	// Requestscount ...
	Requestscount MetricIDEnum = "requests/count"
	// Requestsduration ...
	Requestsduration MetricIDEnum = "requests/duration"
	// Requestsfailed ...
	Requestsfailed MetricIDEnum = "requests/failed"
	// Sessionscount ...
	Sessionscount MetricIDEnum = "sessions/count"
	// Usersauthenticated ...
	Usersauthenticated MetricIDEnum = "users/authenticated"
	// Userscount ...
	Userscount MetricIDEnum = "users/count"
)

type MetricsPostBodySchemaParametersType

type MetricsPostBodySchemaParametersType struct {
	// MetricID - Possible values include: 'Requestscount', 'Requestsduration', 'Requestsfailed', 'Userscount', 'Usersauthenticated', 'PageViewscount', 'PageViewsduration', 'ClientprocessingDuration', 'ClientreceiveDuration', 'ClientnetworkDuration', 'ClientsendDuration', 'ClienttotalDuration', 'Dependenciescount', 'Dependenciesfailed', 'Dependenciesduration', 'Exceptionscount', 'Exceptionsbrowser', 'Exceptionsserver', 'Sessionscount', 'PerformanceCountersrequestExecutionTime', 'PerformanceCountersrequestsPerSecond', 'PerformanceCountersrequestsInQueue', 'PerformanceCountersmemoryAvailableBytes', 'PerformanceCountersexceptionsPerSecond', 'PerformanceCountersprocessCPUPercentage', 'PerformanceCountersprocessIOBytesPerSecond', 'PerformanceCountersprocessPrivateBytes', 'PerformanceCountersprocessorCPUPercentage', 'AvailabilityResultsavailabilityPercentage', 'AvailabilityResultsduration', 'BillingtelemetryCount', 'CustomEventscount'
	MetricID    MetricIDEnum `json:"metricId,omitempty"`
	Timespan    *string      `json:"timespan,omitempty"`
	Aggregation *[]string    `json:"aggregation,omitempty"`
	Interval    *string      `json:"interval,omitempty"`
	Segment     *[]string    `json:"segment,omitempty"`
	Top         *int32       `json:"top,omitempty"`
	Orderby     *string      `json:"orderby,omitempty"`
	Filter      *string      `json:"filter,omitempty"`
}

MetricsPostBodySchemaParametersType the parameters for a single metrics query

type MetricsPostBodySchemaType

type MetricsPostBodySchemaType struct {
	// ID - An identifier for this query.  Must be unique within the post body of the request.  This identifier will be the 'id' property of the response object representing this query.
	ID *string `json:"id,omitempty"`
	// Parameters - The parameters for a single metrics query
	Parameters *MetricsPostBodySchemaParametersType `json:"parameters,omitempty"`
}

MetricsPostBodySchemaType a metric request

type MetricsResultInfoType

type MetricsResultInfoType struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Start - Start time of the metric.
	Start *date.Time `json:"start,omitempty"`
	// End - Start time of the metric.
	End *date.Time `json:"end,omitempty"`
	// Interval - The interval used to segment the metric data.
	Interval *string `json:"interval,omitempty"`
	// Segments - Segmented metric data (if segmented).
	Segments *[]MetricsSegmentInfoType `json:"segments,omitempty"`
}

MetricsResultInfoType a metric result data.

func (MetricsResultInfoType) MarshalJSON

func (mrit MetricsResultInfoType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsResultInfoType.

type MetricsResultType

type MetricsResultType struct {
	autorest.Response `json:"-"`
	Value             *MetricsResultInfoType `json:"value,omitempty"`
}

MetricsResultType a metric result.

type MetricsResultsItemType

type MetricsResultsItemType struct {
	// ID - The specified ID for this metric.
	ID *string `json:"id,omitempty"`
	// Status - The HTTP status code of this metric query.
	Status *int32 `json:"status,omitempty"`
	// Body - The results of this metric query.
	Body *MetricsResultType `json:"body,omitempty"`
}

MetricsResultsItemType ...

type MetricsSegmentInfoType

type MetricsSegmentInfoType struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Start - Start time of the metric segment (only when an interval was specified).
	Start *date.Time `json:"start,omitempty"`
	// End - Start time of the metric segment (only when an interval was specified).
	End *date.Time `json:"end,omitempty"`
	// Segments - Segmented metric data (if further segmented).
	Segments *[]MetricsSegmentInfoType `json:"segments,omitempty"`
}

MetricsSegmentInfoType a metric segment

func (MetricsSegmentInfoType) MarshalJSON

func (msit MetricsSegmentInfoType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsSegmentInfoType.

type QueryBodyType

type QueryBodyType struct {
	// Query - The query to execute.
	Query *string `json:"query,omitempty"`
	// Timespan - Optional. The timespan over which to query data. This is an ISO8601 time period value.  This timespan is applied in addition to any that are specified in the query expression.
	Timespan *string `json:"timespan,omitempty"`
	// Applications - A list of applications that are included in the query.
	Applications *[]string `json:"applications,omitempty"`
}

QueryBodyType query request body

type QueryResultsType

type QueryResultsType struct {
	autorest.Response `json:"-"`
	// Tables - The list of tables, columns and rows.
	Tables *[]TableType `json:"tables,omitempty"`
}

QueryResultsType contains the tables, columns & rows resulting from a query.

type SetObjectType

type SetObjectType struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

SetObjectType ...

type TableType

type TableType struct {
	// Name - The name of the table.
	Name *string `json:"name,omitempty"`
	// Columns - The list of columns in this table.
	Columns *[]ColumnType `json:"columns,omitempty"`
	// Rows - The resulting rows from this query.
	Rows *[][]interface{} `json:"rows,omitempty"`
	// PrimaryTimeStampColumn - name of column in database containing primary
	PrimaryTimeStampColumn interface{} `json:"primaryTimeStampColumn,omitempty"`
}

TableType contains the columns and rows for one table in a query response.

type TypeEnum

type TypeEnum string

TypeEnum enumerates the values for type enum.

const (
	// TypeAvailabilityResult ...
	TypeAvailabilityResult TypeEnum = "availabilityResult"
	// TypeBrowserTiming ...
	TypeBrowserTiming TypeEnum = "browserTiming"
	// TypeCustomEvent ...
	TypeCustomEvent TypeEnum = "customEvent"
	// TypeCustomMetric ...
	TypeCustomMetric TypeEnum = "customMetric"
	// TypeDependency ...
	TypeDependency TypeEnum = "dependency"
	// TypeEventsResultData ...
	TypeEventsResultData TypeEnum = "eventsResultData"
	// TypeException ...
	TypeException TypeEnum = "exception"
	// TypePageView ...
	TypePageView TypeEnum = "pageView"
	// TypePerformanceCounter ...
	TypePerformanceCounter TypeEnum = "performanceCounter"
	// TypeRequest ...
	TypeRequest TypeEnum = "request"
	// TypeTrace ...
	TypeTrace TypeEnum = "trace"
)

Jump to

Keyboard shortcuts

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