...

Package insights

import "github.com/Azure/azure-sdk-for-go/services/preview/appinsights/v1/insights"
Overview
Index
Subdirectories

Overview ▾

Package insights implements the Azure ARM Insights service API version v1.

Composite Swagger for Application Insights Data Client

Index ▾

Constants
func UserAgent() string
func Version() string
type BaseClient
    func New() BaseClient
    func NewWithBaseURI(baseURI string) BaseClient
type BasicEventsResultData
type Column
type ErrorDetail
type ErrorInfo
type ErrorResponse
type EventType
    func PossibleEventTypeValues() []EventType
type EventsAiInfo
type EventsApplicationInfo
type EventsAvailabilityResultInfo
type EventsAvailabilityResultResult
    func (earr EventsAvailabilityResultResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (earr EventsAvailabilityResultResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (earr EventsAvailabilityResultResult) AsEventsResultData() (*EventsResultData, bool)
    func (earr EventsAvailabilityResultResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (earr EventsAvailabilityResultResult) MarshalJSON() ([]byte, error)
type EventsBrowserTimingInfo
type EventsBrowserTimingResult
    func (ebtr EventsBrowserTimingResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsResultData() (*EventsResultData, bool)
    func (ebtr EventsBrowserTimingResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (ebtr EventsBrowserTimingResult) MarshalJSON() ([]byte, error)
type EventsClient
    func NewEventsClient() EventsClient
    func NewEventsClientWithBaseURI(baseURI string) EventsClient
    func (client EventsClient) Get(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (result EventsResults, err error)
    func (client EventsClient) GetByType(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (result EventsResults, err error)
    func (client EventsClient) GetByTypePreparer(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (*http.Request, error)
    func (client EventsClient) GetByTypeResponder(resp *http.Response) (result EventsResults, err error)
    func (client EventsClient) GetByTypeSender(req *http.Request) (*http.Response, error)
    func (client EventsClient) GetOdataMetadata(ctx context.Context, appID string) (result SetObject, err error)
    func (client EventsClient) GetOdataMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)
    func (client EventsClient) GetOdataMetadataResponder(resp *http.Response) (result SetObject, err error)
    func (client EventsClient) GetOdataMetadataSender(req *http.Request) (*http.Response, error)
    func (client EventsClient) GetPreparer(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (*http.Request, error)
    func (client EventsClient) GetResponder(resp *http.Response) (result EventsResults, err error)
    func (client EventsClient) GetSender(req *http.Request) (*http.Response, error)
type EventsClientInfo
type EventsClientPerformanceInfo
type EventsCloudInfo
type EventsCustomEventInfo
type EventsCustomEventResult
    func (ecer EventsCustomEventResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (ecer EventsCustomEventResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (ecer EventsCustomEventResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (ecer EventsCustomEventResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (ecer EventsCustomEventResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (ecer EventsCustomEventResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (ecer EventsCustomEventResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (ecer EventsCustomEventResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (ecer EventsCustomEventResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (ecer EventsCustomEventResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (ecer EventsCustomEventResult) AsEventsResultData() (*EventsResultData, bool)
    func (ecer EventsCustomEventResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (ecer EventsCustomEventResult) MarshalJSON() ([]byte, error)
type EventsCustomMetricInfo
type EventsCustomMetricResult
    func (ecmr EventsCustomMetricResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (ecmr EventsCustomMetricResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (ecmr EventsCustomMetricResult) AsEventsResultData() (*EventsResultData, bool)
    func (ecmr EventsCustomMetricResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (ecmr EventsCustomMetricResult) MarshalJSON() ([]byte, error)
type EventsDependencyInfo
type EventsDependencyResult
    func (edr EventsDependencyResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (edr EventsDependencyResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (edr EventsDependencyResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (edr EventsDependencyResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (edr EventsDependencyResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (edr EventsDependencyResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (edr EventsDependencyResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (edr EventsDependencyResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (edr EventsDependencyResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (edr EventsDependencyResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (edr EventsDependencyResult) AsEventsResultData() (*EventsResultData, bool)
    func (edr EventsDependencyResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (edr EventsDependencyResult) MarshalJSON() ([]byte, error)
type EventsExceptionDetail
type EventsExceptionDetailsParsedStack
type EventsExceptionInfo
type EventsExceptionResult
    func (eer EventsExceptionResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (eer EventsExceptionResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (eer EventsExceptionResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (eer EventsExceptionResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (eer EventsExceptionResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (eer EventsExceptionResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (eer EventsExceptionResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (eer EventsExceptionResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (eer EventsExceptionResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (eer EventsExceptionResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (eer EventsExceptionResult) AsEventsResultData() (*EventsResultData, bool)
    func (eer EventsExceptionResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (eer EventsExceptionResult) MarshalJSON() ([]byte, error)
type EventsOperationInfo
type EventsPageViewInfo
type EventsPageViewResult
    func (epvr EventsPageViewResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (epvr EventsPageViewResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (epvr EventsPageViewResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (epvr EventsPageViewResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (epvr EventsPageViewResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (epvr EventsPageViewResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (epvr EventsPageViewResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (epvr EventsPageViewResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (epvr EventsPageViewResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (epvr EventsPageViewResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (epvr EventsPageViewResult) AsEventsResultData() (*EventsResultData, bool)
    func (epvr EventsPageViewResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (epvr EventsPageViewResult) MarshalJSON() ([]byte, error)
type EventsPerformanceCounterInfo
type EventsPerformanceCounterResult
    func (epcr EventsPerformanceCounterResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsResultData() (*EventsResultData, bool)
    func (epcr EventsPerformanceCounterResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (epcr EventsPerformanceCounterResult) MarshalJSON() ([]byte, error)
type EventsRequestInfo
type EventsRequestResult
    func (errVar EventsRequestResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (errVar EventsRequestResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (errVar EventsRequestResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (errVar EventsRequestResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (errVar EventsRequestResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (errVar EventsRequestResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (errVar EventsRequestResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (errVar EventsRequestResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (errVar EventsRequestResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (errVar EventsRequestResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (errVar EventsRequestResult) AsEventsResultData() (*EventsResultData, bool)
    func (errVar EventsRequestResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (errVar EventsRequestResult) MarshalJSON() ([]byte, error)
type EventsResult
    func (er *EventsResult) UnmarshalJSON(body []byte) error
type EventsResultData
    func (erd EventsResultData) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (erd EventsResultData) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (erd EventsResultData) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (erd EventsResultData) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (erd EventsResultData) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (erd EventsResultData) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (erd EventsResultData) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (erd EventsResultData) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (erd EventsResultData) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (erd EventsResultData) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (erd EventsResultData) AsEventsResultData() (*EventsResultData, bool)
    func (erd EventsResultData) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (erd EventsResultData) MarshalJSON() ([]byte, error)
type EventsResultDataCustomDimensions
    func (erdD EventsResultDataCustomDimensions) MarshalJSON() ([]byte, error)
    func (erdD *EventsResultDataCustomDimensions) UnmarshalJSON(body []byte) error
type EventsResultDataCustomMeasurements
    func (erdM EventsResultDataCustomMeasurements) MarshalJSON() ([]byte, error)
    func (erdM *EventsResultDataCustomMeasurements) UnmarshalJSON(body []byte) error
type EventsResults
    func (er *EventsResults) UnmarshalJSON(body []byte) error
type EventsSessionInfo
type EventsTraceInfo
type EventsTraceResult
    func (etr EventsTraceResult) AsBasicEventsResultData() (BasicEventsResultData, bool)
    func (etr EventsTraceResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    func (etr EventsTraceResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    func (etr EventsTraceResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    func (etr EventsTraceResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    func (etr EventsTraceResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)
    func (etr EventsTraceResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)
    func (etr EventsTraceResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)
    func (etr EventsTraceResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    func (etr EventsTraceResult) AsEventsRequestResult() (*EventsRequestResult, bool)
    func (etr EventsTraceResult) AsEventsResultData() (*EventsResultData, bool)
    func (etr EventsTraceResult) AsEventsTraceResult() (*EventsTraceResult, bool)
    func (etr EventsTraceResult) MarshalJSON() ([]byte, error)
type EventsUserInfo
type ListMetricsResultsItem
type MetadataApplication
type MetadataClient
    func NewMetadataClient() MetadataClient
    func NewMetadataClientWithBaseURI(baseURI string) MetadataClient
    func (client MetadataClient) Get(ctx context.Context, appID string) (result MetadataResults, err error)
    func (client MetadataClient) GetPreparer(ctx context.Context, appID string) (*http.Request, error)
    func (client MetadataClient) GetResponder(resp *http.Response) (result MetadataResults, err error)
    func (client MetadataClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MetadataClient) Post(ctx context.Context, appID string) (result MetadataResults, err error)
    func (client MetadataClient) PostPreparer(ctx context.Context, appID string) (*http.Request, error)
    func (client MetadataClient) PostResponder(resp *http.Response) (result MetadataResults, err error)
    func (client MetadataClient) PostSender(req *http.Request) (*http.Response, error)
type MetadataColumnDataType
    func PossibleMetadataColumnDataTypeValues() []MetadataColumnDataType
type MetadataFunction
type MetadataResults
type MetadataTable
type MetadataTableColumnsItem
type MetadataTableGroup
type MetricID
    func PossibleMetricIDValues() []MetricID
type MetricsAggregation
    func PossibleMetricsAggregationValues() []MetricsAggregation
type MetricsClient
    func NewMetricsClient() MetricsClient
    func NewMetricsClientWithBaseURI(baseURI string) MetricsClient
    func (client MetricsClient) Get(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (result MetricsResult, err error)
    func (client MetricsClient) GetMetadata(ctx context.Context, appID string) (result SetObject, err error)
    func (client MetricsClient) GetMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)
    func (client MetricsClient) GetMetadataResponder(resp *http.Response) (result SetObject, err error)
    func (client MetricsClient) GetMetadataSender(req *http.Request) (*http.Response, error)
    func (client MetricsClient) GetMultiple(ctx context.Context, appID string, body []MetricsPostBodySchema) (result ListMetricsResultsItem, err error)
    func (client MetricsClient) GetMultiplePreparer(ctx context.Context, appID string, body []MetricsPostBodySchema) (*http.Request, error)
    func (client MetricsClient) GetMultipleResponder(resp *http.Response) (result ListMetricsResultsItem, err error)
    func (client MetricsClient) GetMultipleSender(req *http.Request) (*http.Response, error)
    func (client MetricsClient) GetPreparer(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (*http.Request, error)
    func (client MetricsClient) GetResponder(resp *http.Response) (result MetricsResult, err error)
    func (client MetricsClient) GetSender(req *http.Request) (*http.Response, error)
type MetricsPostBodySchema
type MetricsPostBodySchemaParameters
type MetricsResult
type MetricsResultInfo
    func (mri MetricsResultInfo) MarshalJSON() ([]byte, error)
    func (mri *MetricsResultInfo) UnmarshalJSON(body []byte) error
type MetricsResultsItem
type MetricsSegment
    func PossibleMetricsSegmentValues() []MetricsSegment
type MetricsSegmentInfo
    func (msi MetricsSegmentInfo) MarshalJSON() ([]byte, error)
    func (msi *MetricsSegmentInfo) UnmarshalJSON(body []byte) error
type QueryBody
type QueryClient
    func NewQueryClient() QueryClient
    func NewQueryClientWithBaseURI(baseURI string) QueryClient
    func (client QueryClient) Execute(ctx context.Context, appID string, body QueryBody) (result QueryResults, err error)
    func (client QueryClient) ExecutePreparer(ctx context.Context, appID string, body QueryBody) (*http.Request, error)
    func (client QueryClient) ExecuteResponder(resp *http.Response) (result QueryResults, err error)
    func (client QueryClient) ExecuteSender(req *http.Request) (*http.Response, error)
type QueryResults
type SetObject
type Table
type Type
    func PossibleTypeValues() []Type

Package files

client.go enums.go events.go metadata.go metrics.go models.go query.go version.go

Constants

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

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.

type BaseClient

BaseClient is the base client for Insights.

type BaseClient struct {
    autorest.Client
    BaseURI string
}

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicEventsResultData

BasicEventsResultData events query result data.

type BasicEventsResultData interface {
    AsEventsTraceResult() (*EventsTraceResult, bool)
    AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
    AsEventsPageViewResult() (*EventsPageViewResult, bool)
    AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
    AsEventsRequestResult() (*EventsRequestResult, bool)
    AsEventsDependencyResult() (*EventsDependencyResult, bool)
    AsEventsExceptionResult() (*EventsExceptionResult, bool)
    AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
    AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
    AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
    AsEventsResultData() (*EventsResultData, bool)
}

type Column

Column a column in a table.

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

type ErrorDetail

ErrorDetail ...

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

type ErrorInfo

ErrorInfo ...

type ErrorInfo 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 *[]ErrorDetail `json:"details,omitempty"`
    // Innererror - Inner error details if they exist.
    Innererror           *ErrorInfo  `json:"innererror,omitempty"`
    AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

type ErrorResponse

ErrorResponse contains details when the response code indicates an error.

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

type EventType

EventType enumerates the values for event type.

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

func PossibleEventTypeValues

func PossibleEventTypeValues() []EventType

PossibleEventTypeValues returns an array of possible values for the EventType const type.

type EventsAiInfo

EventsAiInfo AI related application info for an event result

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

type EventsApplicationInfo

EventsApplicationInfo application info for an event result

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

type EventsAvailabilityResultInfo

EventsAvailabilityResultInfo the availability result info

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

type EventsAvailabilityResultResult

EventsAvailabilityResultResult an availability result result

type EventsAvailabilityResultResult struct {
    AvailabilityResult *EventsAvailabilityResultInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsAvailabilityResultResult) AsBasicEventsResultData

func (earr EventsAvailabilityResultResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsAvailabilityResultResult

func (earr EventsAvailabilityResultResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsBrowserTimingResult

func (earr EventsAvailabilityResultResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomEventResult

func (earr EventsAvailabilityResultResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomMetricResult

func (earr EventsAvailabilityResultResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsDependencyResult

func (earr EventsAvailabilityResultResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsExceptionResult

func (earr EventsAvailabilityResultResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPageViewResult

func (earr EventsAvailabilityResultResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPerformanceCounterResult

func (earr EventsAvailabilityResultResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsRequestResult

func (earr EventsAvailabilityResultResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsResultData

func (earr EventsAvailabilityResultResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsTraceResult

func (earr EventsAvailabilityResultResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) MarshalJSON

func (earr EventsAvailabilityResultResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsAvailabilityResultResult.

type EventsBrowserTimingInfo

EventsBrowserTimingInfo the browser timing information

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

type EventsBrowserTimingResult

EventsBrowserTimingResult a browser timing result

type EventsBrowserTimingResult struct {
    BrowserTiming     *EventsBrowserTimingInfo     `json:"browserTiming,omitempty"`
    ClientPerformance *EventsClientPerformanceInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsBrowserTimingResult) AsBasicEventsResultData

func (ebtr EventsBrowserTimingResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsAvailabilityResultResult

func (ebtr EventsBrowserTimingResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsBrowserTimingResult

func (ebtr EventsBrowserTimingResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomEventResult

func (ebtr EventsBrowserTimingResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomMetricResult

func (ebtr EventsBrowserTimingResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsDependencyResult

func (ebtr EventsBrowserTimingResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsExceptionResult

func (ebtr EventsBrowserTimingResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPageViewResult

func (ebtr EventsBrowserTimingResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPerformanceCounterResult

func (ebtr EventsBrowserTimingResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsRequestResult

func (ebtr EventsBrowserTimingResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsResultData

func (ebtr EventsBrowserTimingResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsTraceResult

func (ebtr EventsBrowserTimingResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) MarshalJSON

func (ebtr EventsBrowserTimingResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsBrowserTimingResult.

type EventsClient

EventsClient is the composite Swagger for Application Insights Data Client

type EventsClient struct {
    BaseClient
}

func NewEventsClient

func NewEventsClient() EventsClient

NewEventsClient creates an instance of the EventsClient client.

func NewEventsClientWithBaseURI

func NewEventsClientWithBaseURI(baseURI string) EventsClient

NewEventsClientWithBaseURI creates an instance of the EventsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EventsClient) Get

func (client EventsClient) Get(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (result EventsResults, err error)

Get gets the data for a single event Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. eventType - 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 - ID of event. timespan - 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 (EventsClient) GetByType

func (client EventsClient) GetByType(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (result EventsResults, err error)

GetByType executes an OData query for events Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. eventType - 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 - 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 - an expression used to filter the returned events search - a free-text search expression to match for whether a particular event should be returned orderby - a comma-separated list of properties with \"asc\" (the default) or \"desc\" to control the order of returned events selectParameter - limits the properties to just those requested on each returned event skip - the number of items to skip over before returning events top - the number of events to return formatParameter - format for the returned events count - request a count of matching items included with the returned events apply - an expression used for aggregation over returned events

func (EventsClient) GetByTypePreparer

func (client EventsClient) GetByTypePreparer(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (*http.Request, error)

GetByTypePreparer prepares the GetByType request.

func (EventsClient) GetByTypeResponder

func (client EventsClient) GetByTypeResponder(resp *http.Response) (result EventsResults, err error)

GetByTypeResponder handles the response to the GetByType request. The method always closes the http.Response Body.

func (EventsClient) GetByTypeSender

func (client EventsClient) GetByTypeSender(req *http.Request) (*http.Response, error)

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

func (EventsClient) GetOdataMetadata

func (client EventsClient) GetOdataMetadata(ctx context.Context, appID string) (result SetObject, err error)

GetOdataMetadata gets OData EDMX metadata describing the event data model Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (EventsClient) GetOdataMetadataPreparer

func (client EventsClient) GetOdataMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)

GetOdataMetadataPreparer prepares the GetOdataMetadata request.

func (EventsClient) GetOdataMetadataResponder

func (client EventsClient) GetOdataMetadataResponder(resp *http.Response) (result SetObject, err error)

GetOdataMetadataResponder handles the response to the GetOdataMetadata request. The method always closes the http.Response Body.

func (EventsClient) GetOdataMetadataSender

func (client EventsClient) GetOdataMetadataSender(req *http.Request) (*http.Response, error)

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

func (EventsClient) GetPreparer

func (client EventsClient) GetPreparer(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EventsClient) GetResponder

func (client EventsClient) GetResponder(resp *http.Response) (result EventsResults, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EventsClient) GetSender

func (client EventsClient) GetSender(req *http.Request) (*http.Response, error)

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

type EventsClientInfo

EventsClientInfo client info for an event result

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

type EventsClientPerformanceInfo

EventsClientPerformanceInfo client performance information

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

type EventsCloudInfo

EventsCloudInfo cloud info for an event result

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

type EventsCustomEventInfo

EventsCustomEventInfo the custom event information

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

type EventsCustomEventResult

EventsCustomEventResult a custom event result

type EventsCustomEventResult struct {
    CustomEvent *EventsCustomEventInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsCustomEventResult) AsBasicEventsResultData

func (ecer EventsCustomEventResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsAvailabilityResultResult

func (ecer EventsCustomEventResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsBrowserTimingResult

func (ecer EventsCustomEventResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomEventResult

func (ecer EventsCustomEventResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomMetricResult

func (ecer EventsCustomEventResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsDependencyResult

func (ecer EventsCustomEventResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsExceptionResult

func (ecer EventsCustomEventResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPageViewResult

func (ecer EventsCustomEventResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPerformanceCounterResult

func (ecer EventsCustomEventResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsRequestResult

func (ecer EventsCustomEventResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsResultData

func (ecer EventsCustomEventResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsTraceResult

func (ecer EventsCustomEventResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) MarshalJSON

func (ecer EventsCustomEventResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomEventResult.

type EventsCustomMetricInfo

EventsCustomMetricInfo the custom metric info

type EventsCustomMetricInfo 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 *int32 `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"`
}

type EventsCustomMetricResult

EventsCustomMetricResult a custom metric result

type EventsCustomMetricResult struct {
    CustomMetric *EventsCustomMetricInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsCustomMetricResult) AsBasicEventsResultData

func (ecmr EventsCustomMetricResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsAvailabilityResultResult

func (ecmr EventsCustomMetricResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsBrowserTimingResult

func (ecmr EventsCustomMetricResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomEventResult

func (ecmr EventsCustomMetricResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomMetricResult

func (ecmr EventsCustomMetricResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsDependencyResult

func (ecmr EventsCustomMetricResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsExceptionResult

func (ecmr EventsCustomMetricResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPageViewResult

func (ecmr EventsCustomMetricResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPerformanceCounterResult

func (ecmr EventsCustomMetricResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsRequestResult

func (ecmr EventsCustomMetricResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsResultData

func (ecmr EventsCustomMetricResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsTraceResult

func (ecmr EventsCustomMetricResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) MarshalJSON

func (ecmr EventsCustomMetricResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomMetricResult.

type EventsDependencyInfo

EventsDependencyInfo the dependency info

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

type EventsDependencyResult

EventsDependencyResult a dependency result

type EventsDependencyResult struct {
    Dependency *EventsDependencyInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsDependencyResult) AsBasicEventsResultData

func (edr EventsDependencyResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsAvailabilityResultResult

func (edr EventsDependencyResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsBrowserTimingResult

func (edr EventsDependencyResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomEventResult

func (edr EventsDependencyResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomMetricResult

func (edr EventsDependencyResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsDependencyResult

func (edr EventsDependencyResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsExceptionResult

func (edr EventsDependencyResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPageViewResult

func (edr EventsDependencyResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPerformanceCounterResult

func (edr EventsDependencyResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsRequestResult

func (edr EventsDependencyResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsResultData

func (edr EventsDependencyResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsTraceResult

func (edr EventsDependencyResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) MarshalJSON

func (edr EventsDependencyResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsDependencyResult.

type EventsExceptionDetail

EventsExceptionDetail exception details

type EventsExceptionDetail 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 *[]EventsExceptionDetailsParsedStack `json:"parsedStack,omitempty"`
}

type EventsExceptionDetailsParsedStack

EventsExceptionDetailsParsedStack a parsed stack entry

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

type EventsExceptionInfo

EventsExceptionInfo the exception info

type EventsExceptionInfo 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 assembly 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 *[]EventsExceptionDetail `json:"details,omitempty"`
}

type EventsExceptionResult

EventsExceptionResult an exception result

type EventsExceptionResult struct {
    Exception *EventsExceptionInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsExceptionResult) AsBasicEventsResultData

func (eer EventsExceptionResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsAvailabilityResultResult

func (eer EventsExceptionResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsBrowserTimingResult

func (eer EventsExceptionResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomEventResult

func (eer EventsExceptionResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomMetricResult

func (eer EventsExceptionResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsDependencyResult

func (eer EventsExceptionResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsExceptionResult

func (eer EventsExceptionResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPageViewResult

func (eer EventsExceptionResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPerformanceCounterResult

func (eer EventsExceptionResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsRequestResult

func (eer EventsExceptionResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsResultData

func (eer EventsExceptionResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsTraceResult

func (eer EventsExceptionResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) MarshalJSON

func (eer EventsExceptionResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsExceptionResult.

type EventsOperationInfo

EventsOperationInfo operation info for an event result

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

type EventsPageViewInfo

EventsPageViewInfo the page view information

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

type EventsPageViewResult

EventsPageViewResult a page view result

type EventsPageViewResult struct {
    PageView *EventsPageViewInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsPageViewResult) AsBasicEventsResultData

func (epvr EventsPageViewResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsAvailabilityResultResult

func (epvr EventsPageViewResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsBrowserTimingResult

func (epvr EventsPageViewResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomEventResult

func (epvr EventsPageViewResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomMetricResult

func (epvr EventsPageViewResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsDependencyResult

func (epvr EventsPageViewResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsExceptionResult

func (epvr EventsPageViewResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPageViewResult

func (epvr EventsPageViewResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPerformanceCounterResult

func (epvr EventsPageViewResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsRequestResult

func (epvr EventsPageViewResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsResultData

func (epvr EventsPageViewResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsTraceResult

func (epvr EventsPageViewResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) MarshalJSON

func (epvr EventsPageViewResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPageViewResult.

type EventsPerformanceCounterInfo

EventsPerformanceCounterInfo the performance counter info

type EventsPerformanceCounterInfo struct {
    // Value - The value of the performance counter
    Value *float64 `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"`
}

type EventsPerformanceCounterResult

EventsPerformanceCounterResult a performance counter result

type EventsPerformanceCounterResult struct {
    PerformanceCounter *EventsPerformanceCounterInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsPerformanceCounterResult) AsBasicEventsResultData

func (epcr EventsPerformanceCounterResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsAvailabilityResultResult

func (epcr EventsPerformanceCounterResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsBrowserTimingResult

func (epcr EventsPerformanceCounterResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomEventResult

func (epcr EventsPerformanceCounterResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomMetricResult

func (epcr EventsPerformanceCounterResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsDependencyResult

func (epcr EventsPerformanceCounterResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsExceptionResult

func (epcr EventsPerformanceCounterResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPageViewResult

func (epcr EventsPerformanceCounterResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPerformanceCounterResult

func (epcr EventsPerformanceCounterResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsRequestResult

func (epcr EventsPerformanceCounterResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsResultData

func (epcr EventsPerformanceCounterResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsTraceResult

func (epcr EventsPerformanceCounterResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) MarshalJSON

func (epcr EventsPerformanceCounterResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPerformanceCounterResult.

type EventsRequestInfo

EventsRequestInfo the request info

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

type EventsRequestResult

EventsRequestResult a request result

type EventsRequestResult struct {
    Request *EventsRequestInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsRequestResult) AsBasicEventsResultData

func (errVar EventsRequestResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsAvailabilityResultResult

func (errVar EventsRequestResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsBrowserTimingResult

func (errVar EventsRequestResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomEventResult

func (errVar EventsRequestResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomMetricResult

func (errVar EventsRequestResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsDependencyResult

func (errVar EventsRequestResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsExceptionResult

func (errVar EventsRequestResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPageViewResult

func (errVar EventsRequestResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPerformanceCounterResult

func (errVar EventsRequestResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsRequestResult

func (errVar EventsRequestResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsResultData

func (errVar EventsRequestResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsTraceResult

func (errVar EventsRequestResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) MarshalJSON

func (errVar EventsRequestResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsRequestResult.

type EventsResult

EventsResult an event query result.

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

func (*EventsResult) UnmarshalJSON

func (er *EventsResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResult struct.

type EventsResultData

EventsResultData events query result data.

type EventsResultData 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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsResultData) AsBasicEventsResultData

func (erd EventsResultData) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsAvailabilityResultResult

func (erd EventsResultData) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsBrowserTimingResult

func (erd EventsResultData) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomEventResult

func (erd EventsResultData) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomMetricResult

func (erd EventsResultData) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsDependencyResult

func (erd EventsResultData) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsExceptionResult

func (erd EventsResultData) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPageViewResult

func (erd EventsResultData) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPerformanceCounterResult

func (erd EventsResultData) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsRequestResult

func (erd EventsResultData) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsResultData

func (erd EventsResultData) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsTraceResult

func (erd EventsResultData) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) MarshalJSON

func (erd EventsResultData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsResultData.

type EventsResultDataCustomDimensions

EventsResultDataCustomDimensions custom dimensions of the event

type EventsResultDataCustomDimensions struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties  map[string]interface{} `json:""`
    AdditionalProperties1 interface{}            `json:"additionalProperties,omitempty"`
}

func (EventsResultDataCustomDimensions) MarshalJSON

func (erdD EventsResultDataCustomDimensions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsResultDataCustomDimensions.

func (*EventsResultDataCustomDimensions) UnmarshalJSON

func (erdD *EventsResultDataCustomDimensions) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResultDataCustomDimensions struct.

type EventsResultDataCustomMeasurements

EventsResultDataCustomMeasurements custom measurements of the event

type EventsResultDataCustomMeasurements struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties  map[string]interface{} `json:""`
    AdditionalProperties1 interface{}            `json:"additionalProperties,omitempty"`
}

func (EventsResultDataCustomMeasurements) MarshalJSON

func (erdM EventsResultDataCustomMeasurements) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsResultDataCustomMeasurements.

func (*EventsResultDataCustomMeasurements) UnmarshalJSON

func (erdM *EventsResultDataCustomMeasurements) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResultDataCustomMeasurements struct.

type EventsResults

EventsResults an events query result.

type EventsResults 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 *[]ErrorInfo `json:"@ai.messages,omitempty"`
    // Value - Contents of the events query result.
    Value *[]BasicEventsResultData `json:"value,omitempty"`
}

func (*EventsResults) UnmarshalJSON

func (er *EventsResults) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResults struct.

type EventsSessionInfo

EventsSessionInfo session info for an event result

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

type EventsTraceInfo

EventsTraceInfo the trace information

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

type EventsTraceResult

EventsTraceResult a trace result

type EventsTraceResult struct {
    Trace *EventsTraceInfo `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 *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
    // CustomMeasurements - Custom measurements of the event
    CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
    // Operation - Operation info of the event
    Operation *EventsOperationInfo `json:"operation,omitempty"`
    // Session - Session info of the event
    Session *EventsSessionInfo `json:"session,omitempty"`
    // User - User info of the event
    User *EventsUserInfo `json:"user,omitempty"`
    // Cloud - Cloud info of the event
    Cloud *EventsCloudInfo `json:"cloud,omitempty"`
    // Ai - AI info of the event
    Ai *EventsAiInfo `json:"ai,omitempty"`
    // Application - Application info of the event
    Application *EventsApplicationInfo `json:"application,omitempty"`
    // Client - Client info of the event
    Client *EventsClientInfo `json:"client,omitempty"`
    // Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
    Type Type `json:"type,omitempty"`
}

func (EventsTraceResult) AsBasicEventsResultData

func (etr EventsTraceResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsAvailabilityResultResult

func (etr EventsTraceResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsBrowserTimingResult

func (etr EventsTraceResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomEventResult

func (etr EventsTraceResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomMetricResult

func (etr EventsTraceResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsDependencyResult

func (etr EventsTraceResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsExceptionResult

func (etr EventsTraceResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPageViewResult

func (etr EventsTraceResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPerformanceCounterResult

func (etr EventsTraceResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsRequestResult

func (etr EventsTraceResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsResultData

func (etr EventsTraceResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsTraceResult

func (etr EventsTraceResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) MarshalJSON

func (etr EventsTraceResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsTraceResult.

type EventsUserInfo

EventsUserInfo user info for an event result

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

type ListMetricsResultsItem

ListMetricsResultsItem ...

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

type MetadataApplication

MetadataApplication application Insights apps that were part of the metadata request and that the user has access to.

type MetadataApplication struct {
    // ID - The ID of the Application Insights app.
    ID *string `json:"id,omitempty"`
    // ResourceID - The ARM resource ID of the Application Insights app.
    ResourceID *string `json:"resourceId,omitempty"`
    // Name - The name of the Application Insights app.
    Name *string `json:"name,omitempty"`
    // Region - The Azure region of the Application Insights app.
    Region *string `json:"region,omitempty"`
    // Tables - The list of custom tables for the Application Insights app.
    Tables *[]string `json:"tables,omitempty"`
    // Functions - The list of stored functions on the Application Insights app
    Functions *[]string `json:"functions,omitempty"`
    // TableGroups - The list of table groups on the Application Insights app
    TableGroups *[]string `json:"tableGroups,omitempty"`
}

type MetadataClient

MetadataClient is the composite Swagger for Application Insights Data Client

type MetadataClient struct {
    BaseClient
}

func NewMetadataClient

func NewMetadataClient() MetadataClient

NewMetadataClient creates an instance of the MetadataClient client.

func NewMetadataClientWithBaseURI

func NewMetadataClientWithBaseURI(baseURI string) MetadataClient

NewMetadataClientWithBaseURI creates an instance of the MetadataClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetadataClient) Get

func (client MetadataClient) Get(ctx context.Context, appID string) (result MetadataResults, err error)

Get retrieve the metadata information for the app, including its schema, etc. Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (MetadataClient) GetPreparer

func (client MetadataClient) GetPreparer(ctx context.Context, appID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MetadataClient) GetResponder

func (client MetadataClient) GetResponder(resp *http.Response) (result MetadataResults, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MetadataClient) GetSender

func (client MetadataClient) GetSender(req *http.Request) (*http.Response, error)

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

func (MetadataClient) Post

func (client MetadataClient) Post(ctx context.Context, appID string) (result MetadataResults, err error)

Post retrieve the metadata information for the app, including its schema, etc. Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (MetadataClient) PostPreparer

func (client MetadataClient) PostPreparer(ctx context.Context, appID string) (*http.Request, error)

PostPreparer prepares the Post request.

func (MetadataClient) PostResponder

func (client MetadataClient) PostResponder(resp *http.Response) (result MetadataResults, err error)

PostResponder handles the response to the Post request. The method always closes the http.Response Body.

func (MetadataClient) PostSender

func (client MetadataClient) PostSender(req *http.Request) (*http.Response, error)

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

type MetadataColumnDataType

MetadataColumnDataType enumerates the values for metadata column data type.

type MetadataColumnDataType string
const (
    // Bool ...
    Bool MetadataColumnDataType = "bool"
    // Datetime ...
    Datetime MetadataColumnDataType = "datetime"
    // Dynamic ...
    Dynamic MetadataColumnDataType = "dynamic"
    // Int ...
    Int MetadataColumnDataType = "int"
    // Long ...
    Long MetadataColumnDataType = "long"
    // Real ...
    Real MetadataColumnDataType = "real"
    // String ...
    String MetadataColumnDataType = "string"
)

func PossibleMetadataColumnDataTypeValues

func PossibleMetadataColumnDataTypeValues() []MetadataColumnDataType

PossibleMetadataColumnDataTypeValues returns an array of possible values for the MetadataColumnDataType const type.

type MetadataFunction

MetadataFunction functions are stored Kusto queries that can be specified as part of queries by using their name.

type MetadataFunction struct {
    // ID - The ID of the function.
    ID *string `json:"id,omitempty"`
    // Name - The name of the function, to be used in queries.
    Name *string `json:"name,omitempty"`
    // Parameters - The parameters/arguments of the function, if any.
    Parameters *string `json:"parameters,omitempty"`
    // DisplayName - The display name of the function.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - The description of the function.
    Description *string `json:"description,omitempty"`
    // Body - The KQL body of the function.
    Body *string `json:"body,omitempty"`
}

type MetadataResults

MetadataResults the metadata result for the app, including available tables, etc.

type MetadataResults struct {
    autorest.Response `json:"-"`
    // TableGroups - The list of groups of tables on the app.
    TableGroups *[]MetadataTableGroup `json:"tableGroups,omitempty"`
    // Tables - The list of tables and columns that comprise the schema of the app.
    Tables *[]MetadataTable `json:"tables,omitempty"`
    // Functions - The list of functions stored on the app.
    Functions *[]MetadataFunction `json:"functions,omitempty"`
    // Applications - The list of Application Insights apps that were referenced in the metadata request.
    Applications *[]MetadataApplication `json:"applications,omitempty"`
}

type MetadataTable

MetadataTable tables are part of the app schema, and contain a list of columns and a reference to other relevant metadata items.

type MetadataTable struct {
    // ID - The ID of the table
    ID *string `json:"id,omitempty"`
    // Name - The name of the table
    Name *string `json:"name,omitempty"`
    // Description - The description of the table
    Description *string `json:"description,omitempty"`
    // TimespanColumn - The column associated with the timespan query parameter for the table
    TimespanColumn *string `json:"timespanColumn,omitempty"`
    // Columns - The list of columns defined on the table
    Columns *[]MetadataTableColumnsItem `json:"columns,omitempty"`
}

type MetadataTableColumnsItem

MetadataTableColumnsItem ...

type MetadataTableColumnsItem struct {
    // Name - The name of the column
    Name *string `json:"name,omitempty"`
    // Description - The description of the column
    Description *string `json:"description,omitempty"`
    // Type - The data type of the column. Possible values include: 'Bool', 'Datetime', 'Dynamic', 'Int', 'Long', 'Real', 'String'
    Type MetadataColumnDataType `json:"type,omitempty"`
    // IsPreferredFacet - A flag indicating this column is a preferred facet
    IsPreferredFacet *bool `json:"isPreferredFacet,omitempty"`
    // Source - an indication of the source of the column, used only when multiple apps have conflicting definition for the column
    Source interface{} `json:"source,omitempty"`
}

type MetadataTableGroup

MetadataTableGroup the table grouping can be either an Application Insights schema or a Log Analytics solution.

type MetadataTableGroup struct {
    // ID - The ID of the table group
    ID *string `json:"id,omitempty"`
    // Name - The name of the table group
    Name *string `json:"name,omitempty"`
    // Source - The source of the table group, can be either AI or OMS for Log Analytics workspaces
    Source *string `json:"source,omitempty"`
    // DisplayName - The display name of the table group
    DisplayName *string `json:"displayName,omitempty"`
    // Description - The description of the table group
    Description *string `json:"description,omitempty"`
    // Tables - The list of tables contained in the table group
    Tables *[]string `json:"tables,omitempty"`
}

type MetricID

MetricID enumerates the values for metric id.

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

func PossibleMetricIDValues

func PossibleMetricIDValues() []MetricID

PossibleMetricIDValues returns an array of possible values for the MetricID const type.

type MetricsAggregation

MetricsAggregation enumerates the values for metrics aggregation.

type MetricsAggregation string
const (
    // Avg ...
    Avg MetricsAggregation = "avg"
    // Count ...
    Count MetricsAggregation = "count"
    // Max ...
    Max MetricsAggregation = "max"
    // Min ...
    Min MetricsAggregation = "min"
    // Sum ...
    Sum MetricsAggregation = "sum"
    // Unique ...
    Unique MetricsAggregation = "unique"
)

func PossibleMetricsAggregationValues

func PossibleMetricsAggregationValues() []MetricsAggregation

PossibleMetricsAggregationValues returns an array of possible values for the MetricsAggregation const type.

type MetricsClient

MetricsClient is the composite Swagger for Application Insights Data Client

type MetricsClient struct {
    BaseClient
}

func NewMetricsClient

func NewMetricsClient() MetricsClient

NewMetricsClient creates an instance of the MetricsClient client.

func NewMetricsClientWithBaseURI

func NewMetricsClientWithBaseURI(baseURI string) MetricsClient

NewMetricsClientWithBaseURI creates an instance of the MetricsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricsClient) Get

func (client MetricsClient) Get(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (result MetricsResult, err error)

Get gets metric values for a single metric Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. metricID - ID of the metric. This is either a standard AI metric, or an application-specific custom metric. timespan - 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 - 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 - 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 - 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 - the number of segments to return. This value is only valid when segment is specified. orderby - the aggregation function and direction to sort the segments by. This value is only valid when segment is specified. filter - 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 (MetricsClient) GetMetadata

func (client MetricsClient) GetMetadata(ctx context.Context, appID string) (result SetObject, err error)

GetMetadata gets metadata describing the available metrics Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (MetricsClient) GetMetadataPreparer

func (client MetricsClient) GetMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)

GetMetadataPreparer prepares the GetMetadata request.

func (MetricsClient) GetMetadataResponder

func (client MetricsClient) GetMetadataResponder(resp *http.Response) (result SetObject, err error)

GetMetadataResponder handles the response to the GetMetadata request. The method always closes the http.Response Body.

func (MetricsClient) GetMetadataSender

func (client MetricsClient) GetMetadataSender(req *http.Request) (*http.Response, error)

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

func (MetricsClient) GetMultiple

func (client MetricsClient) GetMultiple(ctx context.Context, appID string, body []MetricsPostBodySchema) (result ListMetricsResultsItem, err error)

GetMultiple gets metric values for multiple metrics Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. body - the batched metrics query.

func (MetricsClient) GetMultiplePreparer

func (client MetricsClient) GetMultiplePreparer(ctx context.Context, appID string, body []MetricsPostBodySchema) (*http.Request, error)

GetMultiplePreparer prepares the GetMultiple request.

func (MetricsClient) GetMultipleResponder

func (client MetricsClient) GetMultipleResponder(resp *http.Response) (result ListMetricsResultsItem, err error)

GetMultipleResponder handles the response to the GetMultiple request. The method always closes the http.Response Body.

func (MetricsClient) GetMultipleSender

func (client MetricsClient) GetMultipleSender(req *http.Request) (*http.Response, error)

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

func (MetricsClient) GetPreparer

func (client MetricsClient) GetPreparer(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MetricsClient) GetResponder

func (client MetricsClient) GetResponder(resp *http.Response) (result MetricsResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MetricsClient) GetSender

func (client MetricsClient) GetSender(req *http.Request) (*http.Response, error)

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

type MetricsPostBodySchema

MetricsPostBodySchema a metric request

type MetricsPostBodySchema 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 *MetricsPostBodySchemaParameters `json:"parameters,omitempty"`
}

type MetricsPostBodySchemaParameters

MetricsPostBodySchemaParameters the parameters for a single metrics query

type MetricsPostBodySchemaParameters 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    MetricID              `json:"metricId,omitempty"`
    Timespan    *string               `json:"timespan,omitempty"`
    Aggregation *[]MetricsAggregation `json:"aggregation,omitempty"`
    Interval    *string               `json:"interval,omitempty"`
    Segment     *[]MetricsSegment     `json:"segment,omitempty"`
    Top         *int32                `json:"top,omitempty"`
    Orderby     *string               `json:"orderby,omitempty"`
    Filter      *string               `json:"filter,omitempty"`
}

type MetricsResult

MetricsResult a metric result.

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

type MetricsResultInfo

MetricsResultInfo a metric result data.

type MetricsResultInfo 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 *[]MetricsSegmentInfo `json:"segments,omitempty"`
}

func (MetricsResultInfo) MarshalJSON

func (mri MetricsResultInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsResultInfo.

func (*MetricsResultInfo) UnmarshalJSON

func (mri *MetricsResultInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricsResultInfo struct.

type MetricsResultsItem

MetricsResultsItem ...

type MetricsResultsItem 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 *MetricsResult `json:"body,omitempty"`
}

type MetricsSegment

MetricsSegment enumerates the values for metrics segment.

type MetricsSegment string
const (
    // ApplicationBuild ...
    ApplicationBuild MetricsSegment = "applicationBuild"
    // ApplicationVersion ...
    ApplicationVersion MetricsSegment = "applicationVersion"
    // AuthenticatedOrAnonymousTraffic ...
    AuthenticatedOrAnonymousTraffic MetricsSegment = "authenticatedOrAnonymousTraffic"
    // Browser ...
    Browser MetricsSegment = "browser"
    // BrowserVersion ...
    BrowserVersion MetricsSegment = "browserVersion"
    // City ...
    City MetricsSegment = "city"
    // CloudRoleName ...
    CloudRoleName MetricsSegment = "cloudRoleName"
    // CloudServiceName ...
    CloudServiceName MetricsSegment = "cloudServiceName"
    // Continent ...
    Continent MetricsSegment = "continent"
    // CountryOrRegion ...
    CountryOrRegion MetricsSegment = "countryOrRegion"
    // DeploymentID ...
    DeploymentID MetricsSegment = "deploymentId"
    // DeploymentUnit ...
    DeploymentUnit MetricsSegment = "deploymentUnit"
    // DeviceType ...
    DeviceType MetricsSegment = "deviceType"
    // Environment ...
    Environment MetricsSegment = "environment"
    // HostingLocation ...
    HostingLocation MetricsSegment = "hostingLocation"
    // InstanceName ...
    InstanceName MetricsSegment = "instanceName"
)

func PossibleMetricsSegmentValues

func PossibleMetricsSegmentValues() []MetricsSegment

PossibleMetricsSegmentValues returns an array of possible values for the MetricsSegment const type.

type MetricsSegmentInfo

MetricsSegmentInfo a metric segment

type MetricsSegmentInfo 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 *[]MetricsSegmentInfo `json:"segments,omitempty"`
}

func (MetricsSegmentInfo) MarshalJSON

func (msi MetricsSegmentInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsSegmentInfo.

func (*MetricsSegmentInfo) UnmarshalJSON

func (msi *MetricsSegmentInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricsSegmentInfo struct.

type QueryBody

QueryBody the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)

type QueryBody 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 Application IDs for cross-application queries.
    Applications *[]string `json:"applications,omitempty"`
}

type QueryClient

QueryClient is the composite Swagger for Application Insights Data Client

type QueryClient struct {
    BaseClient
}

func NewQueryClient

func NewQueryClient() QueryClient

NewQueryClient creates an instance of the QueryClient client.

func NewQueryClientWithBaseURI

func NewQueryClientWithBaseURI(baseURI string) QueryClient

NewQueryClientWithBaseURI creates an instance of the QueryClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (QueryClient) Execute

func (client QueryClient) Execute(ctx context.Context, appID string, body QueryBody) (result QueryResults, err error)

Execute executes an Analytics query for data. [Here](https://dev.applicationinsights.io/documentation/Using-the-API/Query) is an example for using POST with an Analytics query. Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. body - the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)

func (QueryClient) ExecutePreparer

func (client QueryClient) ExecutePreparer(ctx context.Context, appID string, body QueryBody) (*http.Request, error)

ExecutePreparer prepares the Execute request.

func (QueryClient) ExecuteResponder

func (client QueryClient) ExecuteResponder(resp *http.Response) (result QueryResults, err error)

ExecuteResponder handles the response to the Execute request. The method always closes the http.Response Body.

func (QueryClient) ExecuteSender

func (client QueryClient) ExecuteSender(req *http.Request) (*http.Response, error)

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

type QueryResults

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

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

type SetObject

SetObject ...

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

type Table

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

type Table struct {
    // Name - The name of the table.
    Name *string `json:"name,omitempty"`
    // Columns - The list of columns in this table.
    Columns *[]Column `json:"columns,omitempty"`
    // Rows - The resulting rows from this query.
    Rows *[][]interface{} `json:"rows,omitempty"`
}

type Type

Type enumerates the values for type.

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

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

Subdirectories

Name Synopsis
..
insightsapi