insights

package
v15.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package insights implements the Azure ARM Insights service API version 2015-05-01.

Composite Swagger for Application Insights Management Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Insights
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type APIKeyRequest

type APIKeyRequest struct {
	// Name - The name of the API Key.
	Name *string `json:"name,omitempty"`
	// LinkedReadProperties - The read access rights of this API Key.
	LinkedReadProperties *[]string `json:"linkedReadProperties,omitempty"`
	// LinkedWriteProperties - The write access rights of this API Key.
	LinkedWriteProperties *[]string `json:"linkedWriteProperties,omitempty"`
}

APIKeyRequest an Application Insights component API Key createion request definition.

type APIKeysClient

type APIKeysClient struct {
	BaseClient
}

APIKeysClient is the composite Swagger for Application Insights Management Client

func NewAPIKeysClient

func NewAPIKeysClient(subscriptionID string) APIKeysClient

NewAPIKeysClient creates an instance of the APIKeysClient client.

func NewAPIKeysClientWithBaseURI

func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient

NewAPIKeysClientWithBaseURI creates an instance of the APIKeysClient client.

func (APIKeysClient) Create

func (client APIKeysClient) Create(ctx context.Context, resourceGroupName string, resourceName string, APIKeyProperties APIKeyRequest) (result ApplicationInsightsComponentAPIKey, err error)

Create create an API Key of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. APIKeyProperties is properties that need to be specified to create an API key of a Application Insights component.

func (APIKeysClient) CreatePreparer

func (client APIKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, APIKeyProperties APIKeyRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (APIKeysClient) CreateResponder

func (client APIKeysClient) CreateResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (APIKeysClient) CreateSender

func (client APIKeysClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (APIKeysClient) Delete

func (client APIKeysClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error)

Delete delete an API Key of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. keyID is the API Key ID. This is unique within a Application Insights component.

func (APIKeysClient) DeletePreparer

func (client APIKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (APIKeysClient) DeleteResponder

func (client APIKeysClient) DeleteResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (APIKeysClient) DeleteSender

func (client APIKeysClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (APIKeysClient) Get

func (client APIKeysClient) Get(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error)

Get get the API Key for this key id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. keyID is the API Key ID. This is unique within a Application Insights component.

func (APIKeysClient) GetPreparer

func (client APIKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (APIKeysClient) GetResponder

func (client APIKeysClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)

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

func (APIKeysClient) GetSender

func (client APIKeysClient) 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 (APIKeysClient) List

func (client APIKeysClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAPIKeyListResult, err error)

List gets a list of API keys of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (APIKeysClient) ListPreparer

func (client APIKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (APIKeysClient) ListResponder

func (client APIKeysClient) ListResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKeyListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (APIKeysClient) ListSender

func (client APIKeysClient) ListSender(req *http.Request) (*http.Response, error)

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

type Annotation

type Annotation struct {
	// AnnotationName - Name of annotation
	AnnotationName *string `json:"AnnotationName,omitempty"`
	// Category - Category of annotation, free form
	Category *string `json:"Category,omitempty"`
	// EventTime - Time when event occurred
	EventTime *date.Time `json:"EventTime,omitempty"`
	// ID - Unique Id for annotation
	ID *string `json:"Id,omitempty"`
	// Properties - Serialized JSON object for detailed properties
	Properties *string `json:"Properties,omitempty"`
	// RelatedAnnotation - Related parent annotation if any
	RelatedAnnotation *string `json:"RelatedAnnotation,omitempty"`
}

Annotation annotation associated with an application insights resource.

type AnnotationError

type AnnotationError struct {
	// Code - Error detail code and explanation
	Code *string `json:"code,omitempty"`
	// Message - Error message
	Message    *string     `json:"message,omitempty"`
	Innererror *InnerError `json:"innererror,omitempty"`
}

AnnotationError error associated with trying to create annotation with Id that already exist

type AnnotationsClient

type AnnotationsClient struct {
	BaseClient
}

AnnotationsClient is the composite Swagger for Application Insights Management Client

func NewAnnotationsClient

func NewAnnotationsClient(subscriptionID string) AnnotationsClient

NewAnnotationsClient creates an instance of the AnnotationsClient client.

func NewAnnotationsClientWithBaseURI

func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) AnnotationsClient

NewAnnotationsClientWithBaseURI creates an instance of the AnnotationsClient client.

func (AnnotationsClient) Create

func (client AnnotationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties Annotation) (result ListAnnotation, err error)

Create create an Annotation of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. annotationProperties is properties that need to be specified to create an annotation of a Application Insights component.

func (AnnotationsClient) CreatePreparer

func (client AnnotationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties Annotation) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AnnotationsClient) CreateResponder

func (client AnnotationsClient) CreateResponder(resp *http.Response) (result ListAnnotation, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AnnotationsClient) CreateSender

func (client AnnotationsClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (AnnotationsClient) Delete

func (client AnnotationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result SetObject, err error)

Delete delete an Annotation of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. annotationID is the unique annotation ID. This is unique within a Application Insights component.

func (AnnotationsClient) DeletePreparer

func (client AnnotationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AnnotationsClient) DeleteResponder

func (client AnnotationsClient) DeleteResponder(resp *http.Response) (result SetObject, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AnnotationsClient) DeleteSender

func (client AnnotationsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (AnnotationsClient) Get

func (client AnnotationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result ListAnnotation, err error)

Get get the annotation for given id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. annotationID is the unique annotation ID. This is unique within a Application Insights component.

func (AnnotationsClient) GetPreparer

func (client AnnotationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AnnotationsClient) GetResponder

func (client AnnotationsClient) GetResponder(resp *http.Response) (result ListAnnotation, err error)

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

func (AnnotationsClient) GetSender

func (client AnnotationsClient) 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 (AnnotationsClient) List

func (client AnnotationsClient) List(ctx context.Context, resourceGroupName string, resourceName string, start string, end string) (result ListAnnotation, err error)

List gets the list of annotations for a component for given time range

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. start is the start time to query from for annotations, cannot be older than 90 days from current date. end is the end time to query for annotations.

func (AnnotationsClient) ListPreparer

func (client AnnotationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, start string, end string) (*http.Request, error)

ListPreparer prepares the List request.

func (AnnotationsClient) ListResponder

func (client AnnotationsClient) ListResponder(resp *http.Response) (result ListAnnotation, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AnnotationsClient) ListSender

func (client AnnotationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type ApplicationInsightsComponent

type ApplicationInsightsComponent struct {
	autorest.Response `json:"-"`
	// Kind - The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
	Kind *string `json:"kind,omitempty"`
	// ApplicationInsightsComponentProperties - Properties that define an Application Insights component resource.
	*ApplicationInsightsComponentProperties `json:"properties,omitempty"`
	// ID - Azure resource Id
	ID *string `json:"id,omitempty"`
	// Name - Azure resource name
	Name *string `json:"name,omitempty"`
	// Type - Azure resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

ApplicationInsightsComponent an Application Insights component definition.

func (ApplicationInsightsComponent) MarshalJSON

func (aic ApplicationInsightsComponent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponent.

func (*ApplicationInsightsComponent) UnmarshalJSON

func (aic *ApplicationInsightsComponent) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationInsightsComponent struct.

type ApplicationInsightsComponentAPIKey

type ApplicationInsightsComponentAPIKey struct {
	autorest.Response `json:"-"`
	// ID - The unique ID of the API key inside an Applciation Insights component. It is auto generated when the API key is created.
	ID *string `json:"id,omitempty"`
	// APIKey - The API key value. It will be only return once when the API Key was created.
	APIKey *string `json:"apiKey,omitempty"`
	// CreatedDate - The create date of this API key.
	CreatedDate *string `json:"createdDate,omitempty"`
	// Name - The name of the API key.
	Name *string `json:"name,omitempty"`
	// LinkedReadProperties - The read access rights of this API Key.
	LinkedReadProperties *[]string `json:"linkedReadProperties,omitempty"`
	// LinkedWriteProperties - The write access rights of this API Key.
	LinkedWriteProperties *[]string `json:"linkedWriteProperties,omitempty"`
}

ApplicationInsightsComponentAPIKey properties that define an API key of an Application Insights Component.

type ApplicationInsightsComponentAPIKeyListResult

type ApplicationInsightsComponentAPIKeyListResult struct {
	autorest.Response `json:"-"`
	// Value - List of API Key definitions.
	Value *[]ApplicationInsightsComponentAPIKey `json:"value,omitempty"`
}

ApplicationInsightsComponentAPIKeyListResult describes the list of API Keys of an Application Insights Component.

type ApplicationInsightsComponentAvailableFeatures

type ApplicationInsightsComponentAvailableFeatures struct {
	autorest.Response `json:"-"`
	// Result - A list of Application Insigths component feature.
	Result *[]ApplicationInsightsComponentFeature `json:"Result,omitempty"`
}

ApplicationInsightsComponentAvailableFeatures an Application Insights component available features.

type ApplicationInsightsComponentBillingFeatures

type ApplicationInsightsComponentBillingFeatures struct {
	autorest.Response `json:"-"`
	// DataVolumeCap - An Application Insights component daily data volumne cap
	DataVolumeCap *ApplicationInsightsComponentDataVolumeCap `json:"DataVolumeCap,omitempty"`
	// CurrentBillingFeatures - Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'.
	CurrentBillingFeatures *[]string `json:"CurrentBillingFeatures,omitempty"`
}

ApplicationInsightsComponentBillingFeatures an Application Insights component billing features

type ApplicationInsightsComponentDataVolumeCap

type ApplicationInsightsComponentDataVolumeCap struct {
	// Cap - Daily data volume cap in GB.
	Cap *float64 `json:"Cap,omitempty"`
	// ResetTime - Daily data volume cap UTC reset hour.
	ResetTime *int32 `json:"ResetTime,omitempty"`
	// WarningThreshold - Reserved, not used for now.
	WarningThreshold *int32 `json:"WarningThreshold,omitempty"`
	// StopSendNotificationWhenHitThreshold - Reserved, not used for now.
	StopSendNotificationWhenHitThreshold *bool `json:"StopSendNotificationWhenHitThreshold,omitempty"`
	// StopSendNotificationWhenHitCap - Do not send a notification email when the daily data volume cap is met.
	StopSendNotificationWhenHitCap *bool `json:"StopSendNotificationWhenHitCap,omitempty"`
	// MaxHistoryCap - Maximum daily data volume cap that the user can set for this component.
	MaxHistoryCap *float64 `json:"MaxHistoryCap,omitempty"`
}

ApplicationInsightsComponentDataVolumeCap an Application Insights component daily data volumne cap

type ApplicationInsightsComponentExportConfiguration

type ApplicationInsightsComponentExportConfiguration struct {
	autorest.Response `json:"-"`
	// ExportID - The unique ID of the export configuration inside an Applciation Insights component. It is auto generated when the Continuous Export configuration is created.
	ExportID *string `json:"ExportId,omitempty"`
	// InstrumentationKey - The instrumentation key of the Application Insights component.
	InstrumentationKey *string `json:"InstrumentationKey,omitempty"`
	// RecordTypes - This comma separated list of document types that will be exported. The possible values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.
	RecordTypes *string `json:"RecordTypes,omitempty"`
	// ApplicationName - The name of the Application Insights component.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// SubscriptionID - The subscription of the Application Insights component.
	SubscriptionID *string `json:"SubscriptionId,omitempty"`
	// ResourceGroup - The resource group of the Application Insights component.
	ResourceGroup *string `json:"ResourceGroup,omitempty"`
	// DestinationStorageSubscriptionID - The destination storage account subscription ID.
	DestinationStorageSubscriptionID *string `json:"DestinationStorageSubscriptionId,omitempty"`
	// DestinationStorageLocationID - The destination account location ID.
	DestinationStorageLocationID *string `json:"DestinationStorageLocationId,omitempty"`
	// DestinationAccountID - The name of destination account.
	DestinationAccountID *string `json:"DestinationAccountId,omitempty"`
	// DestinationType - The destination type.
	DestinationType *string `json:"DestinationType,omitempty"`
	// IsUserEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
	IsUserEnabled *string `json:"IsUserEnabled,omitempty"`
	// LastUserUpdate - Last time the Continuous Export configuration was updated.
	LastUserUpdate *string `json:"LastUserUpdate,omitempty"`
	// NotificationQueueEnabled - Deprecated
	NotificationQueueEnabled *string `json:"NotificationQueueEnabled,omitempty"`
	// ExportStatus - This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.
	ExportStatus *string `json:"ExportStatus,omitempty"`
	// LastSuccessTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
	LastSuccessTime *string `json:"LastSuccessTime,omitempty"`
	// LastGapTime - The last time the Continuous Export configuration started failing.
	LastGapTime *string `json:"LastGapTime,omitempty"`
	// PermanentErrorReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
	PermanentErrorReason *string `json:"PermanentErrorReason,omitempty"`
	// StorageName - The name of the destination storage account.
	StorageName *string `json:"StorageName,omitempty"`
	// ContainerName - The name of the destination storage container.
	ContainerName *string `json:"ContainerName,omitempty"`
}

ApplicationInsightsComponentExportConfiguration properties that define a Continuous Export configuration.

type ApplicationInsightsComponentExportRequest

type ApplicationInsightsComponentExportRequest struct {
	// RecordTypes - The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.
	RecordTypes *string `json:"RecordTypes,omitempty"`
	// DestinationType - The Continuous Export destination type. This has to be 'Blob'.
	DestinationType *string `json:"DestinationType,omitempty"`
	// DestinationAddress - The SAS URL for the destination storage container. It must grant write permission.
	DestinationAddress *string `json:"DestinationAddress,omitempty"`
	// IsEnabled - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
	IsEnabled *string `json:"IsEnabled,omitempty"`
	// NotificationQueueEnabled - Deprecated
	NotificationQueueEnabled *string `json:"NotificationQueueEnabled,omitempty"`
	// NotificationQueueURI - Deprecated
	NotificationQueueURI *string `json:"NotificationQueueUri,omitempty"`
	// DestinationStorageSubscriptionID - The subscription ID of the destination storage container.
	DestinationStorageSubscriptionID *string `json:"DestinationStorageSubscriptionId,omitempty"`
	// DestinationStorageLocationID - The location ID of the destination storage container.
	DestinationStorageLocationID *string `json:"DestinationStorageLocationId,omitempty"`
	// DestinationAccountID - The name of destination storage account.
	DestinationAccountID *string `json:"DestinationAccountId,omitempty"`
}

ApplicationInsightsComponentExportRequest an Application Insights component Continuous Export configuration request definition.

type ApplicationInsightsComponentFavorite

type ApplicationInsightsComponentFavorite struct {
	autorest.Response `json:"-"`
	// Name - The user-defined name of the favorite.
	Name *string `json:"Name,omitempty"`
	// Config - Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON
	Config *string `json:"Config,omitempty"`
	// Version - This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search.
	Version *string `json:"Version,omitempty"`
	// FavoriteID - Internally assigned unique id of the favorite definition.
	FavoriteID *string `json:"FavoriteId,omitempty"`
	// FavoriteType - Enum indicating if this favorite definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'Shared', 'User'
	FavoriteType FavoriteType `json:"FavoriteType,omitempty"`
	// SourceType - The source of the favorite definition.
	SourceType *string `json:"SourceType,omitempty"`
	// TimeModified - Date and time in UTC of the last modification that was made to this favorite definition.
	TimeModified *string `json:"TimeModified,omitempty"`
	// Tags - A list of 0 or more tags that are associated with this favorite definition
	Tags *[]string `json:"Tags,omitempty"`
	// Category - Favorite category, as defined by the user at creation time.
	Category *string `json:"Category,omitempty"`
	// IsGeneratedFromTemplate - Flag denoting wether or not this favorite was generated from a template.
	IsGeneratedFromTemplate *bool `json:"IsGeneratedFromTemplate,omitempty"`
	// UserID - Unique user id of the specific user that owns this favorite.
	UserID *string `json:"UserId,omitempty"`
}

ApplicationInsightsComponentFavorite properties that define a favorite that is associated to an Application Insights component.

type ApplicationInsightsComponentFeature

type ApplicationInsightsComponentFeature struct {
	// FeatureName - The pricing feature name.
	FeatureName *string `json:"FeatureName,omitempty"`
	// MeterID - The meter id used for the feature.
	MeterID *string `json:"MeterId,omitempty"`
	// MeterRateFrequency - The meter meter rate for the feature's meter.
	MeterRateFrequency *string `json:"MeterRateFrequency,omitempty"`
	// ResouceID - Reserved, not used now.
	ResouceID *string `json:"ResouceId,omitempty"`
	// IsHidden - Reserved, not used now.
	IsHidden *bool `json:"IsHidden,omitempty"`
	// Capabilities - A list of Application Insigths component feature capability.
	Capabilities *[]ApplicationInsightsComponentFeatureCapability `json:"Capabilities,omitempty"`
	// Title - Desplay name of the feature.
	Title *string `json:"Title,omitempty"`
	// IsMainFeature - Whether can apply addon feature on to it.
	IsMainFeature *bool `json:"IsMainFeature,omitempty"`
	// SupportedAddonFeatures - The add on features on main feature.
	SupportedAddonFeatures *string `json:"SupportedAddonFeatures,omitempty"`
}

ApplicationInsightsComponentFeature an Application Insights component daily data volume cap status

type ApplicationInsightsComponentFeatureCapabilities

type ApplicationInsightsComponentFeatureCapabilities struct {
	autorest.Response `json:"-"`
	// SupportExportData - Whether allow to use continuous export feature.
	SupportExportData *bool `json:"SupportExportData,omitempty"`
	// BurstThrottlePolicy - Reserved, not used now.
	BurstThrottlePolicy *string `json:"BurstThrottlePolicy,omitempty"`
	// MetadataClass - Reserved, not used now.
	MetadataClass *string `json:"MetadataClass,omitempty"`
	// LiveStreamMetrics - Reserved, not used now.
	LiveStreamMetrics *bool `json:"LiveStreamMetrics,omitempty"`
	// ApplicationMap - Reserved, not used now.
	ApplicationMap *bool `json:"ApplicationMap,omitempty"`
	// WorkItemIntegration - Whether allow to use work item integration feature.
	WorkItemIntegration *bool `json:"WorkItemIntegration,omitempty"`
	// PowerBIIntegration - Reserved, not used now.
	PowerBIIntegration *bool `json:"PowerBIIntegration,omitempty"`
	// OpenSchema - Reserved, not used now.
	OpenSchema *bool `json:"OpenSchema,omitempty"`
	// ProactiveDetection - Reserved, not used now.
	ProactiveDetection *bool `json:"ProactiveDetection,omitempty"`
	// AnalyticsIntegration - Reserved, not used now.
	AnalyticsIntegration *bool `json:"AnalyticsIntegration,omitempty"`
	// MultipleStepWebTest - Whether allow to use multiple steps web test feature.
	MultipleStepWebTest *bool `json:"MultipleStepWebTest,omitempty"`
	// APIAccessLevel - Reserved, not used now.
	APIAccessLevel *string `json:"ApiAccessLevel,omitempty"`
	// TrackingType - The applciation insights component used tracking type.
	TrackingType *string `json:"TrackingType,omitempty"`
	// DailyCap - Daily data volume cap in GB.
	DailyCap *float64 `json:"DailyCap,omitempty"`
	// DailyCapResetTime - Daily data volume cap UTC reset hour.
	DailyCapResetTime *float64 `json:"DailyCapResetTime,omitempty"`
	// ThrottleRate - Reserved, not used now.
	ThrottleRate *float64 `json:"ThrottleRate,omitempty"`
}

ApplicationInsightsComponentFeatureCapabilities an Application Insights component feature capabilities

type ApplicationInsightsComponentFeatureCapability

type ApplicationInsightsComponentFeatureCapability struct {
	// Name - The name of the capability.
	Name *string `json:"Name,omitempty"`
	// Description - The description of the capability.
	Description *string `json:"Description,omitempty"`
	// Value - The vaule of the capability.
	Value *string `json:"Value,omitempty"`
	// Unit - The unit of the capability.
	Unit *string `json:"Unit,omitempty"`
	// MeterID - The meter used for the capability.
	MeterID *string `json:"MeterId,omitempty"`
	// MeterRateFrequency - The meter rate of the meter.
	MeterRateFrequency *string `json:"MeterRateFrequency,omitempty"`
}

ApplicationInsightsComponentFeatureCapability an Application Insights component feature capability

type ApplicationInsightsComponentListResult

type ApplicationInsightsComponentListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Application Insights component definitions.
	Value *[]ApplicationInsightsComponent `json:"value,omitempty"`
	// NextLink - The URI to get the next set of Application Insights component defintions if too many components where returned in the result set.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationInsightsComponentListResult describes the list of Application Insights Resources.

func (ApplicationInsightsComponentListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ApplicationInsightsComponentListResultIterator

type ApplicationInsightsComponentListResultIterator struct {
	// contains filtered or unexported fields
}

ApplicationInsightsComponentListResultIterator provides access to a complete listing of ApplicationInsightsComponent values.

func (*ApplicationInsightsComponentListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationInsightsComponentListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationInsightsComponentListResultIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationInsightsComponentListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationInsightsComponentListResultPage

type ApplicationInsightsComponentListResultPage struct {
	// contains filtered or unexported fields
}

ApplicationInsightsComponentListResultPage contains a page of ApplicationInsightsComponent values.

func (*ApplicationInsightsComponentListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationInsightsComponentListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationInsightsComponentListResultPage) Response

Response returns the raw server response from the last page request.

func (ApplicationInsightsComponentListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationInsightsComponentProactiveDetectionConfiguration

type ApplicationInsightsComponentProactiveDetectionConfiguration struct {
	autorest.Response `json:"-"`
	// Name - The rule name
	Name *string `json:"Name,omitempty"`
	// Enabled - A flag that indicates whether this rule is enabled by the user
	Enabled *bool `json:"Enabled,omitempty"`
	// SendEmailsToSubscriptionOwners - A flag that indicated whether notifications on this rule should be sent to subscription owners
	SendEmailsToSubscriptionOwners *bool `json:"SendEmailsToSubscriptionOwners,omitempty"`
	// CustomEmails - Custom email addresses for this rule notifications
	CustomEmails *[]string `json:"CustomEmails,omitempty"`
	// LastUpdatedTime - The last time this rule was updated
	LastUpdatedTime *string `json:"LastUpdatedTime,omitempty"`
	// RuleDefinitions - Static definitions of the ProactiveDetection configuration rule (same values for all components).
	RuleDefinitions *ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions `json:"RuleDefinitions,omitempty"`
}

ApplicationInsightsComponentProactiveDetectionConfiguration properties that define a ProactiveDetection configuration.

type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions struct {
	// Name - The rule name
	Name *string `json:"Name,omitempty"`
	// DisplayName - The rule name as it is displayed in UI
	DisplayName *string `json:"DisplayName,omitempty"`
	// Description - The rule description
	Description *string `json:"Description,omitempty"`
	// HelpURL - URL which displays aditional info about the proactive detection rule
	HelpURL *string `json:"HelpUrl,omitempty"`
	// IsHidden - A flag indicating whether the rule is hidden (from the UI)
	IsHidden *bool `json:"IsHidden,omitempty"`
	// IsEnabledByDefault - A flag indicating whether the rule is enabled by default
	IsEnabledByDefault *bool `json:"IsEnabledByDefault,omitempty"`
	// IsInPreview - A flag indicating whether the rule is in preview
	IsInPreview *bool `json:"IsInPreview,omitempty"`
	// SupportsEmailNotifications - A flag indicating whether email notifications are supported for detections for this rule
	SupportsEmailNotifications *bool `json:"SupportsEmailNotifications,omitempty"`
}

ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions static definitions of the ProactiveDetection configuration rule (same values for all components).

type ApplicationInsightsComponentProperties

type ApplicationInsightsComponentProperties struct {
	// ApplicationID - The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
	ApplicationID *string `json:"ApplicationId,omitempty"`
	// AppID - Application Insights Unique ID for your Application.
	AppID *string `json:"AppId,omitempty"`
	// ApplicationType - Type of application being monitored. Possible values include: 'Web', 'Other'
	ApplicationType ApplicationType `json:"Application_Type,omitempty"`
	// FlowType - Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API. Possible values include: 'Bluefield'
	FlowType FlowType `json:"Flow_Type,omitempty"`
	// RequestSource - Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'Rest'
	RequestSource RequestSource `json:"Request_Source,omitempty"`
	// InstrumentationKey - Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
	InstrumentationKey *string `json:"InstrumentationKey,omitempty"`
	// CreationDate - Creation Date for the Application Insights component, in ISO 8601 format.
	CreationDate *date.Time `json:"CreationDate,omitempty"`
	// TenantID - Azure Tenant Id.
	TenantID *string `json:"TenantId,omitempty"`
	// HockeyAppID - The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
	HockeyAppID *string `json:"HockeyAppId,omitempty"`
	// HockeyAppToken - Token used to authenticate communications with between Application Insights and HockeyApp.
	HockeyAppToken *string `json:"HockeyAppToken,omitempty"`
	// ProvisioningState - Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// SamplingPercentage - Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
	SamplingPercentage *float64 `json:"SamplingPercentage,omitempty"`
}

ApplicationInsightsComponentProperties properties that define an Application Insights component resource.

type ApplicationInsightsComponentQuotaStatus

type ApplicationInsightsComponentQuotaStatus struct {
	autorest.Response `json:"-"`
	// AppID - The Application ID for the Application Insights component.
	AppID *string `json:"AppId,omitempty"`
	// ShouldBeThrottled - The daily data volume cap is met, and data ingestion will be stopped.
	ShouldBeThrottled *bool `json:"ShouldBeThrottled,omitempty"`
	// ExpirationTime - Date and time when the daily data volume cap will be reset, and data ingestion will resume.
	ExpirationTime *string `json:"ExpirationTime,omitempty"`
}

ApplicationInsightsComponentQuotaStatus an Application Insights component daily data volume cap status

type ApplicationInsightsComponentWebTestLocation

type ApplicationInsightsComponentWebTestLocation struct {
	// DisplayName - The display name of the web test location.
	DisplayName *string `json:"DisplayName,omitempty"`
	// Tag - Internally defined geographic location tag.
	Tag *string `json:"Tag,omitempty"`
}

ApplicationInsightsComponentWebTestLocation properties that define a web test location available to an Application Insights Component.

type ApplicationInsightsWebTestLocationsListResult

type ApplicationInsightsWebTestLocationsListResult struct {
	autorest.Response `json:"-"`
	// Value - List of web test locations.
	Value *[]ApplicationInsightsComponentWebTestLocation `json:"value,omitempty"`
}

ApplicationInsightsWebTestLocationsListResult describes the list of web test locations available to an Application Insights Component.

type ApplicationType

type ApplicationType string

ApplicationType enumerates the values for application type.

const (
	// Other ...
	Other ApplicationType = "other"
	// Web ...
	Web ApplicationType = "web"
)

func PossibleApplicationTypeValues

func PossibleApplicationTypeValues() []ApplicationType

PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.

type BaseClient

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

BaseClient is the base client for Insights.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CategoryType

type CategoryType string

CategoryType enumerates the values for category type.

const (
	// CategoryTypePerformance ...
	CategoryTypePerformance CategoryType = "performance"
	// CategoryTypeRetention ...
	CategoryTypeRetention CategoryType = "retention"
	// CategoryTypeTSG ...
	CategoryTypeTSG CategoryType = "TSG"
	// CategoryTypeWorkbook ...
	CategoryTypeWorkbook CategoryType = "workbook"
)

func PossibleCategoryTypeValues

func PossibleCategoryTypeValues() []CategoryType

PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type.

type ComponentAvailableFeaturesClient

type ComponentAvailableFeaturesClient struct {
	BaseClient
}

ComponentAvailableFeaturesClient is the composite Swagger for Application Insights Management Client

func NewComponentAvailableFeaturesClient

func NewComponentAvailableFeaturesClient(subscriptionID string) ComponentAvailableFeaturesClient

NewComponentAvailableFeaturesClient creates an instance of the ComponentAvailableFeaturesClient client.

func NewComponentAvailableFeaturesClientWithBaseURI

func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentAvailableFeaturesClient

NewComponentAvailableFeaturesClientWithBaseURI creates an instance of the ComponentAvailableFeaturesClient client.

func (ComponentAvailableFeaturesClient) Get

func (client ComponentAvailableFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAvailableFeatures, err error)

Get returns all available features of the application insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentAvailableFeaturesClient) GetPreparer

func (client ComponentAvailableFeaturesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComponentAvailableFeaturesClient) GetResponder

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

func (ComponentAvailableFeaturesClient) GetSender

func (client ComponentAvailableFeaturesClient) 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 ComponentCurrentBillingFeaturesClient

type ComponentCurrentBillingFeaturesClient struct {
	BaseClient
}

ComponentCurrentBillingFeaturesClient is the composite Swagger for Application Insights Management Client

func NewComponentCurrentBillingFeaturesClient

func NewComponentCurrentBillingFeaturesClient(subscriptionID string) ComponentCurrentBillingFeaturesClient

NewComponentCurrentBillingFeaturesClient creates an instance of the ComponentCurrentBillingFeaturesClient client.

func NewComponentCurrentBillingFeaturesClientWithBaseURI

func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentCurrentBillingFeaturesClient

NewComponentCurrentBillingFeaturesClientWithBaseURI creates an instance of the ComponentCurrentBillingFeaturesClient client.

func (ComponentCurrentBillingFeaturesClient) Get

func (client ComponentCurrentBillingFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentBillingFeatures, err error)

Get returns current billing features for an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentCurrentBillingFeaturesClient) GetPreparer

func (client ComponentCurrentBillingFeaturesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComponentCurrentBillingFeaturesClient) GetResponder

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

func (ComponentCurrentBillingFeaturesClient) GetSender

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

func (ComponentCurrentBillingFeaturesClient) Update

func (client ComponentCurrentBillingFeaturesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties ApplicationInsightsComponentBillingFeatures) (result ApplicationInsightsComponentBillingFeatures, err error)

Update update current billing features for an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. billingFeaturesProperties is properties that need to be specified to update billing features for an Application Insights component.

func (ComponentCurrentBillingFeaturesClient) UpdatePreparer

func (client ComponentCurrentBillingFeaturesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties ApplicationInsightsComponentBillingFeatures) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ComponentCurrentBillingFeaturesClient) UpdateResponder

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ComponentCurrentBillingFeaturesClient) UpdateSender

func (client ComponentCurrentBillingFeaturesClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type ComponentFeatureCapabilitiesClient

type ComponentFeatureCapabilitiesClient struct {
	BaseClient
}

ComponentFeatureCapabilitiesClient is the composite Swagger for Application Insights Management Client

func NewComponentFeatureCapabilitiesClient

func NewComponentFeatureCapabilitiesClient(subscriptionID string) ComponentFeatureCapabilitiesClient

NewComponentFeatureCapabilitiesClient creates an instance of the ComponentFeatureCapabilitiesClient client.

func NewComponentFeatureCapabilitiesClientWithBaseURI

func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) ComponentFeatureCapabilitiesClient

NewComponentFeatureCapabilitiesClientWithBaseURI creates an instance of the ComponentFeatureCapabilitiesClient client.

func (ComponentFeatureCapabilitiesClient) Get

func (client ComponentFeatureCapabilitiesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentFeatureCapabilities, err error)

Get returns feature capabilites of the application insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentFeatureCapabilitiesClient) GetPreparer

func (client ComponentFeatureCapabilitiesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComponentFeatureCapabilitiesClient) GetResponder

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

func (ComponentFeatureCapabilitiesClient) GetSender

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

type ComponentPurgeBody

type ComponentPurgeBody struct {
	// Table - Table from which to purge data.
	Table *string `json:"table,omitempty"`
	// Filters - The set of columns and filters (queries) to run over them to purge the resulting data.
	Filters *[]ComponentPurgeBodyFilters `json:"filters,omitempty"`
}

ComponentPurgeBody describes the body of a purge request for an App Insights component

type ComponentPurgeBodyFilters

type ComponentPurgeBodyFilters struct {
	// Column - The column of the table over which the given query should run
	Column *string `json:"column,omitempty"`
	// Filter - A query to to run over the provided table and column to purge the corresponding data.
	Filter *string `json:"filter,omitempty"`
}

ComponentPurgeBodyFilters user-defined filters to return data which will be purged from the table.

type ComponentPurgeResponse

type ComponentPurgeResponse struct {
	autorest.Response `json:"-"`
	// OperationID - Id to use when querying for status for a particular purge operation.
	OperationID *string `json:"operationId,omitempty"`
}

ComponentPurgeResponse response containing operationId for a specific purge action.

type ComponentPurgeStatusResponse

type ComponentPurgeStatusResponse struct {
	autorest.Response `json:"-"`
	// Status - Status of the operation represented by the requested Id. Possible values include: 'Pending', 'Completed'
	Status PurgeState `json:"status,omitempty"`
}

ComponentPurgeStatusResponse response containing status for a specific purge operation.

type ComponentQuotaStatusClient

type ComponentQuotaStatusClient struct {
	BaseClient
}

ComponentQuotaStatusClient is the composite Swagger for Application Insights Management Client

func NewComponentQuotaStatusClient

func NewComponentQuotaStatusClient(subscriptionID string) ComponentQuotaStatusClient

NewComponentQuotaStatusClient creates an instance of the ComponentQuotaStatusClient client.

func NewComponentQuotaStatusClientWithBaseURI

func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string) ComponentQuotaStatusClient

NewComponentQuotaStatusClientWithBaseURI creates an instance of the ComponentQuotaStatusClient client.

func (ComponentQuotaStatusClient) Get

func (client ComponentQuotaStatusClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentQuotaStatus, err error)

Get returns daily data volume cap (quota) status for an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentQuotaStatusClient) GetPreparer

func (client ComponentQuotaStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComponentQuotaStatusClient) GetResponder

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

func (ComponentQuotaStatusClient) GetSender

func (client ComponentQuotaStatusClient) 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 ComponentsClient

type ComponentsClient struct {
	BaseClient
}

ComponentsClient is the composite Swagger for Application Insights Management Client

func NewComponentsClient

func NewComponentsClient(subscriptionID string) ComponentsClient

NewComponentsClient creates an instance of the ComponentsClient client.

func NewComponentsClientWithBaseURI

func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) ComponentsClient

NewComponentsClientWithBaseURI creates an instance of the ComponentsClient client.

func (ComponentsClient) CreateOrUpdate

func (client ComponentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, insightProperties ApplicationInsightsComponent) (result ApplicationInsightsComponent, err error)

CreateOrUpdate creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. insightProperties is properties that need to be specified to create an Application Insights component.

func (ComponentsClient) CreateOrUpdatePreparer

func (client ComponentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, insightProperties ApplicationInsightsComponent) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ComponentsClient) CreateOrUpdateResponder

func (client ComponentsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ComponentsClient) CreateOrUpdateSender

func (client ComponentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) Delete

func (client ComponentsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)

Delete deletes an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentsClient) DeletePreparer

func (client ComponentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ComponentsClient) DeleteResponder

func (client ComponentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ComponentsClient) DeleteSender

func (client ComponentsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) Get

func (client ComponentsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponent, err error)

Get returns an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ComponentsClient) GetPreparer

func (client ComponentsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComponentsClient) GetPurgeStatus

func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (result ComponentPurgeStatusResponse, err error)

GetPurgeStatus gets the status of a previously submitted purge using the id returned from the original purge request.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. purgeID is in a purge status request, this is the Id of the operation the status of which is returned.

func (ComponentsClient) GetPurgeStatusPreparer

func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (*http.Request, error)

GetPurgeStatusPreparer prepares the GetPurgeStatus request.

func (ComponentsClient) GetPurgeStatusResponder

func (client ComponentsClient) GetPurgeStatusResponder(resp *http.Response) (result ComponentPurgeStatusResponse, err error)

GetPurgeStatusResponder handles the response to the GetPurgeStatus request. The method always closes the http.Response Body.

func (ComponentsClient) GetPurgeStatusSender

func (client ComponentsClient) GetPurgeStatusSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) GetResponder

func (client ComponentsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)

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

func (ComponentsClient) GetSender

func (client ComponentsClient) 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 (ComponentsClient) List

List gets a list of all Application Insights components within a subscription.

func (ComponentsClient) ListByResourceGroup

func (client ComponentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationInsightsComponentListResultPage, err error)

ListByResourceGroup gets a list of Application Insights components within a resource group.

resourceGroupName is the name of the resource group.

func (ComponentsClient) ListByResourceGroupComplete

func (client ComponentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationInsightsComponentListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ComponentsClient) ListByResourceGroupPreparer

func (client ComponentsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ComponentsClient) ListByResourceGroupResponder

func (client ComponentsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationInsightsComponentListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ComponentsClient) ListByResourceGroupSender

func (client ComponentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ComponentsClient) ListPreparer

func (client ComponentsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ComponentsClient) ListResponder

func (client ComponentsClient) ListResponder(resp *http.Response) (result ApplicationInsightsComponentListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ComponentsClient) ListSender

func (client ComponentsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) Purge

func (client ComponentsClient) Purge(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (result ComponentPurgeResponse, err error)

Purge purges data in an Application Insights component by a set of user-defined filters.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. body is describes the body of a request to purge data in a single table of an Application Insights component

func (ComponentsClient) PurgePreparer

func (client ComponentsClient) PurgePreparer(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (*http.Request, error)

PurgePreparer prepares the Purge request.

func (ComponentsClient) PurgeResponder

func (client ComponentsClient) PurgeResponder(resp *http.Response) (result ComponentPurgeResponse, err error)

PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.

func (ComponentsClient) PurgeSender

func (client ComponentsClient) PurgeSender(req *http.Request) (*http.Response, error)

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

func (ComponentsClient) UpdateTags

func (client ComponentsClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, componentTags TagsResource) (result ApplicationInsightsComponent, err error)

UpdateTags updates an existing component's tags. To update other fields use the CreateOrUpdate method.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. componentTags is updated tag information to set into the component instance.

func (ComponentsClient) UpdateTagsPreparer

func (client ComponentsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, componentTags TagsResource) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ComponentsClient) UpdateTagsResponder

func (client ComponentsClient) UpdateTagsResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ComponentsClient) UpdateTagsSender

func (client ComponentsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type ErrorFieldContract

type ErrorFieldContract struct {
	// Code - Property level error code.
	Code *string `json:"code,omitempty"`
	// Message - Human-readable representation of property-level error.
	Message *string `json:"message,omitempty"`
	// Target - Property name.
	Target *string `json:"target,omitempty"`
}

ErrorFieldContract error Field contract.

type ErrorResponse

type ErrorResponse struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
}

ErrorResponse error reponse indicates Insights service is not able to process the incoming request. The reason is provided in the error message.

type ExportConfigurationsClient

type ExportConfigurationsClient struct {
	BaseClient
}

ExportConfigurationsClient is the composite Swagger for Application Insights Management Client

func NewExportConfigurationsClient

func NewExportConfigurationsClient(subscriptionID string) ExportConfigurationsClient

NewExportConfigurationsClient creates an instance of the ExportConfigurationsClient client.

func NewExportConfigurationsClientWithBaseURI

func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ExportConfigurationsClient

NewExportConfigurationsClientWithBaseURI creates an instance of the ExportConfigurationsClient client.

func (ExportConfigurationsClient) Create

func (client ExportConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, exportProperties ApplicationInsightsComponentExportRequest) (result ListApplicationInsightsComponentExportConfiguration, err error)

Create create a Continuous Export configuration of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. exportProperties is properties that need to be specified to create a Continuous Export configuration of a Application Insights component.

func (ExportConfigurationsClient) CreatePreparer

func (client ExportConfigurationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportProperties ApplicationInsightsComponentExportRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ExportConfigurationsClient) CreateResponder

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ExportConfigurationsClient) CreateSender

func (client ExportConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (ExportConfigurationsClient) Delete

func (client ExportConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error)

Delete delete a Continuous Export configuration of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. exportID is the Continuous Export configuration ID. This is unique within a Application Insights component.

func (ExportConfigurationsClient) DeletePreparer

func (client ExportConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExportConfigurationsClient) DeleteResponder

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExportConfigurationsClient) DeleteSender

func (client ExportConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ExportConfigurationsClient) Get

func (client ExportConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error)

Get get the Continuous Export configuration for this export id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. exportID is the Continuous Export configuration ID. This is unique within a Application Insights component.

func (ExportConfigurationsClient) GetPreparer

func (client ExportConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExportConfigurationsClient) GetResponder

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

func (ExportConfigurationsClient) GetSender

func (client ExportConfigurationsClient) 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 (ExportConfigurationsClient) List

func (client ExportConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListApplicationInsightsComponentExportConfiguration, err error)

List gets a list of Continuous Export configuration of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ExportConfigurationsClient) ListPreparer

func (client ExportConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExportConfigurationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExportConfigurationsClient) ListSender

func (client ExportConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (ExportConfigurationsClient) Update

func (client ExportConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties ApplicationInsightsComponentExportRequest) (result ApplicationInsightsComponentExportConfiguration, err error)

Update update the Continuous Export configuration for this export id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. exportID is the Continuous Export configuration ID. This is unique within a Application Insights component. exportProperties is properties that need to be specified to update the Continuous Export configuration.

func (ExportConfigurationsClient) UpdatePreparer

func (client ExportConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties ApplicationInsightsComponentExportRequest) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ExportConfigurationsClient) UpdateResponder

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ExportConfigurationsClient) UpdateSender

func (client ExportConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type FavoriteClient

type FavoriteClient struct {
	BaseClient
}

FavoriteClient is the composite Swagger for Application Insights Management Client

func NewFavoriteClient

func NewFavoriteClient(subscriptionID string) FavoriteClient

NewFavoriteClient creates an instance of the FavoriteClient client.

func NewFavoriteClientWithBaseURI

func NewFavoriteClientWithBaseURI(baseURI string, subscriptionID string) FavoriteClient

NewFavoriteClientWithBaseURI creates an instance of the FavoriteClient client.

func (FavoriteClient) Add

func (client FavoriteClient) Add(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error)

Add adds a new favorites to an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component favoriteProperties is properties that need to be specified to create a new favorite and add it to an Application Insights component.

func (FavoriteClient) AddPreparer

func (client FavoriteClient) AddPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (*http.Request, error)

AddPreparer prepares the Add request.

func (FavoriteClient) AddResponder

func (client FavoriteClient) AddResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (FavoriteClient) AddSender

func (client FavoriteClient) AddSender(req *http.Request) (*http.Response, error)

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

func (FavoriteClient) Delete

func (client FavoriteClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result autorest.Response, err error)

Delete remove a favorite that is associated to an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component

func (FavoriteClient) DeletePreparer

func (client FavoriteClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FavoriteClient) DeleteResponder

func (client FavoriteClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (FavoriteClient) DeleteSender

func (client FavoriteClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (FavoriteClient) Get

func (client FavoriteClient) Get(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result ApplicationInsightsComponentFavorite, err error)

Get get a single favorite by its FavoriteId, defined within an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component

func (FavoriteClient) GetPreparer

func (client FavoriteClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FavoriteClient) GetResponder

func (client FavoriteClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)

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

func (FavoriteClient) GetSender

func (client FavoriteClient) 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 (FavoriteClient) Update

func (client FavoriteClient) Update(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error)

Update updates a favorite that has already been added to an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component favoriteProperties is properties that need to be specified to update the existing favorite.

func (FavoriteClient) UpdatePreparer

func (client FavoriteClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (FavoriteClient) UpdateResponder

func (client FavoriteClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (FavoriteClient) UpdateSender

func (client FavoriteClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type FavoriteSourceType

type FavoriteSourceType string

FavoriteSourceType enumerates the values for favorite source type.

const (
	// Events ...
	Events FavoriteSourceType = "events"
	// Funnel ...
	Funnel FavoriteSourceType = "funnel"
	// Impact ...
	Impact FavoriteSourceType = "impact"
	// Notebook ...
	Notebook FavoriteSourceType = "notebook"
	// Retention ...
	Retention FavoriteSourceType = "retention"
	// Segmentation ...
	Segmentation FavoriteSourceType = "segmentation"
	// Sessions ...
	Sessions FavoriteSourceType = "sessions"
	// Userflows ...
	Userflows FavoriteSourceType = "userflows"
)

func PossibleFavoriteSourceTypeValues

func PossibleFavoriteSourceTypeValues() []FavoriteSourceType

PossibleFavoriteSourceTypeValues returns an array of possible values for the FavoriteSourceType const type.

type FavoriteType

type FavoriteType string

FavoriteType enumerates the values for favorite type.

const (
	// Shared ...
	Shared FavoriteType = "shared"
	// User ...
	User FavoriteType = "user"
)

func PossibleFavoriteTypeValues

func PossibleFavoriteTypeValues() []FavoriteType

PossibleFavoriteTypeValues returns an array of possible values for the FavoriteType const type.

type FavoritesClient

type FavoritesClient struct {
	BaseClient
}

FavoritesClient is the composite Swagger for Application Insights Management Client

func NewFavoritesClient

func NewFavoritesClient(subscriptionID string) FavoritesClient

NewFavoritesClient creates an instance of the FavoritesClient client.

func NewFavoritesClientWithBaseURI

func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) FavoritesClient

NewFavoritesClientWithBaseURI creates an instance of the FavoritesClient client.

func (FavoritesClient) List

func (client FavoritesClient) List(ctx context.Context, resourceGroupName string, resourceName string, favoriteType FavoriteType, sourceType FavoriteSourceType, canFetchContent *bool, tags []string) (result ListApplicationInsightsComponentFavorite, err error)

List gets a list of favorites defined within an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. favoriteType is the type of favorite. Value can be either shared or user. sourceType is source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum). canFetchContent is flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites. tags is tags that must be present on each favorite returned.

func (FavoritesClient) ListPreparer

func (client FavoritesClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteType FavoriteType, sourceType FavoriteSourceType, canFetchContent *bool, tags []string) (*http.Request, error)

ListPreparer prepares the List request.

func (FavoritesClient) ListResponder

func (client FavoritesClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentFavorite, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (FavoritesClient) ListSender

func (client FavoritesClient) ListSender(req *http.Request) (*http.Response, error)

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

type FlowType

type FlowType string

FlowType enumerates the values for flow type.

const (
	// Bluefield ...
	Bluefield FlowType = "Bluefield"
)

func PossibleFlowTypeValues

func PossibleFlowTypeValues() []FlowType

PossibleFlowTypeValues returns an array of possible values for the FlowType const type.

type InnerError

type InnerError struct {
	// Diagnosticcontext - Provides correlation for request
	Diagnosticcontext *string `json:"diagnosticcontext,omitempty"`
	// Time - Request time
	Time *date.Time `json:"time,omitempty"`
}

InnerError inner error

type LinkProperties

type LinkProperties struct {
	// SourceID - The source Azure resource id
	SourceID *string `json:"sourceId,omitempty"`
	// TargetID - The workbook Azure resource id
	TargetID *string `json:"targetId,omitempty"`
	// Category - The category of workbook
	Category *string `json:"category,omitempty"`
}

LinkProperties contains a sourceId and workbook resource id to link two resources.

type ListAnnotation

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

ListAnnotation ...

type ListApplicationInsightsComponentExportConfiguration

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

ListApplicationInsightsComponentExportConfiguration ...

type ListApplicationInsightsComponentFavorite

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

ListApplicationInsightsComponentFavorite ...

type ListApplicationInsightsComponentProactiveDetectionConfiguration

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

ListApplicationInsightsComponentProactiveDetectionConfiguration ...

type ListWorkItemConfiguration

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

ListWorkItemConfiguration ...

type ListWorkbook

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

ListWorkbook ...

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation CDN REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Cdn
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of CDN operations supported by the CDN resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the composite Swagger for Application Insights Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available insights REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type ProactiveDetectionConfigurationsClient

type ProactiveDetectionConfigurationsClient struct {
	BaseClient
}

ProactiveDetectionConfigurationsClient is the composite Swagger for Application Insights Management Client

func NewProactiveDetectionConfigurationsClient

func NewProactiveDetectionConfigurationsClient(subscriptionID string) ProactiveDetectionConfigurationsClient

NewProactiveDetectionConfigurationsClient creates an instance of the ProactiveDetectionConfigurationsClient client.

func NewProactiveDetectionConfigurationsClientWithBaseURI

func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ProactiveDetectionConfigurationsClient

NewProactiveDetectionConfigurationsClientWithBaseURI creates an instance of the ProactiveDetectionConfigurationsClient client.

func (ProactiveDetectionConfigurationsClient) Get

func (client ProactiveDetectionConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, configurationID string) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)

Get get the ProactiveDetection configuration for this configuration id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. configurationID is the ProactiveDetection configuration ID. This is unique within a Application Insights component.

func (ProactiveDetectionConfigurationsClient) GetPreparer

func (client ProactiveDetectionConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, configurationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProactiveDetectionConfigurationsClient) GetResponder

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

func (ProactiveDetectionConfigurationsClient) GetSender

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

func (ProactiveDetectionConfigurationsClient) List

List gets a list of ProactiveDetection configurations of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (ProactiveDetectionConfigurationsClient) ListPreparer

func (client ProactiveDetectionConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProactiveDetectionConfigurationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ProactiveDetectionConfigurationsClient) ListSender

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

func (ProactiveDetectionConfigurationsClient) Update

func (client ProactiveDetectionConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties ApplicationInsightsComponentProactiveDetectionConfiguration) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)

Update update the ProactiveDetection configuration for this configuration id.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. configurationID is the ProactiveDetection configuration ID. This is unique within a Application Insights component. proactiveDetectionProperties is properties that need to be specified to update the ProactiveDetection configuration.

func (ProactiveDetectionConfigurationsClient) UpdatePreparer

func (client ProactiveDetectionConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties ApplicationInsightsComponentProactiveDetectionConfiguration) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ProactiveDetectionConfigurationsClient) UpdateResponder

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ProactiveDetectionConfigurationsClient) UpdateSender

func (client ProactiveDetectionConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type PurgeState

type PurgeState string

PurgeState enumerates the values for purge state.

const (
	// Completed ...
	Completed PurgeState = "Completed"
	// Pending ...
	Pending PurgeState = "Pending"
)

func PossiblePurgeStateValues

func PossiblePurgeStateValues() []PurgeState

PossiblePurgeStateValues returns an array of possible values for the PurgeState const type.

type RequestSource

type RequestSource string

RequestSource enumerates the values for request source.

const (
	// Rest ...
	Rest RequestSource = "rest"
)

func PossibleRequestSourceValues

func PossibleRequestSourceValues() []RequestSource

PossibleRequestSourceValues returns an array of possible values for the RequestSource const type.

type Resource

type Resource struct {
	// ID - Azure resource Id
	ID *string `json:"id,omitempty"`
	// Name - Azure resource name
	Name *string `json:"name,omitempty"`
	// Type - Azure resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Resource an azure resource object

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SetObject

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

SetObject ...

type SharedTypeKind

type SharedTypeKind string

SharedTypeKind enumerates the values for shared type kind.

const (
	// SharedTypeKindShared ...
	SharedTypeKindShared SharedTypeKind = "shared"
	// SharedTypeKindUser ...
	SharedTypeKindUser SharedTypeKind = "user"
)

func PossibleSharedTypeKindValues

func PossibleSharedTypeKindValues() []SharedTypeKind

PossibleSharedTypeKindValues returns an array of possible values for the SharedTypeKind const type.

type TagsResource

type TagsResource struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance.

func (TagsResource) MarshalJSON

func (tr TagsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsResource.

type WebTest

type WebTest struct {
	autorest.Response `json:"-"`
	// Kind - The kind of web test that this web test watches. Choices are ping and multistep. Possible values include: 'Ping', 'Multistep'
	Kind WebTestKind `json:"kind,omitempty"`
	// WebTestProperties - Metadata describing a web test for an Azure resource.
	*WebTestProperties `json:"properties,omitempty"`
	// ID - Azure resource Id
	ID *string `json:"id,omitempty"`
	// Name - Azure resource name
	Name *string `json:"name,omitempty"`
	// Type - Azure resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

WebTest an Application Insights web test definition.

func (WebTest) MarshalJSON

func (wt WebTest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebTest.

func (*WebTest) UnmarshalJSON

func (wt *WebTest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebTest struct.

type WebTestGeolocation

type WebTestGeolocation struct {
	// Location - Location ID for the webtest to run from.
	Location *string `json:"Id,omitempty"`
}

WebTestGeolocation geo-physical location to run a web test from. You must specify one or more locations for the test to run from.

type WebTestKind

type WebTestKind string

WebTestKind enumerates the values for web test kind.

const (
	// Multistep ...
	Multistep WebTestKind = "multistep"
	// Ping ...
	Ping WebTestKind = "ping"
)

func PossibleWebTestKindValues

func PossibleWebTestKindValues() []WebTestKind

PossibleWebTestKindValues returns an array of possible values for the WebTestKind const type.

type WebTestListResult

type WebTestListResult struct {
	autorest.Response `json:"-"`
	// Value - Set of Application Insights web test definitions.
	Value *[]WebTest `json:"value,omitempty"`
	// NextLink - The link to get the next part of the returned list of web tests, should the return set be too large for a single request. May be null.
	NextLink *string `json:"nextLink,omitempty"`
}

WebTestListResult a list of 0 or more Application Insights web test definitions.

func (WebTestListResult) IsEmpty

func (wtlr WebTestListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WebTestListResultIterator

type WebTestListResultIterator struct {
	// contains filtered or unexported fields
}

WebTestListResultIterator provides access to a complete listing of WebTest values.

func (*WebTestListResultIterator) Next

func (iter *WebTestListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WebTestListResultIterator) NotDone

func (iter WebTestListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WebTestListResultIterator) Response

Response returns the raw server response from the last page request.

func (WebTestListResultIterator) Value

func (iter WebTestListResultIterator) Value() WebTest

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WebTestListResultPage

type WebTestListResultPage struct {
	// contains filtered or unexported fields
}

WebTestListResultPage contains a page of WebTest values.

func (*WebTestListResultPage) Next

func (page *WebTestListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WebTestListResultPage) NotDone

func (page WebTestListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WebTestListResultPage) Response

func (page WebTestListResultPage) Response() WebTestListResult

Response returns the raw server response from the last page request.

func (WebTestListResultPage) Values

func (page WebTestListResultPage) Values() []WebTest

Values returns the slice of values for the current page or nil if there are no values.

type WebTestLocationsClient

type WebTestLocationsClient struct {
	BaseClient
}

WebTestLocationsClient is the composite Swagger for Application Insights Management Client

func NewWebTestLocationsClient

func NewWebTestLocationsClient(subscriptionID string) WebTestLocationsClient

NewWebTestLocationsClient creates an instance of the WebTestLocationsClient client.

func NewWebTestLocationsClientWithBaseURI

func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) WebTestLocationsClient

NewWebTestLocationsClientWithBaseURI creates an instance of the WebTestLocationsClient client.

func (WebTestLocationsClient) List

func (client WebTestLocationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsWebTestLocationsListResult, err error)

List gets a list of web test locations available to this Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (WebTestLocationsClient) ListPreparer

func (client WebTestLocationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (WebTestLocationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WebTestLocationsClient) ListSender

func (client WebTestLocationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type WebTestProperties

type WebTestProperties struct {
	// SyntheticMonitorID - Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorID *string `json:"SyntheticMonitorId,omitempty"`
	// WebTestName - User defined name if this WebTest.
	WebTestName *string `json:"Name,omitempty"`
	// Description - Purpose/user defined descriptive test for this WebTest.
	Description *string `json:"Description,omitempty"`
	// Enabled - Is the test actively being monitored.
	Enabled *bool `json:"Enabled,omitempty"`
	// Frequency - Interval in seconds between test runs for this WebTest. Default value is 300.
	Frequency *int32 `json:"Frequency,omitempty"`
	// Timeout - Seconds until this WebTest will timeout and fail. Default value is 30.
	Timeout *int32 `json:"Timeout,omitempty"`
	// WebTestKind - The kind of web test this is, valid choices are ping and multistep. Possible values include: 'Ping', 'Multistep'
	WebTestKind WebTestKind `json:"Kind,omitempty"`
	// RetryEnabled - Allow for retries should this WebTest fail.
	RetryEnabled *bool `json:"RetryEnabled,omitempty"`
	// Locations - A list of where to physically run the tests from to give global coverage for accessibility of your application.
	Locations *[]WebTestGeolocation `json:"Locations,omitempty"`
	// Configuration - An XML configuration specification for a WebTest.
	Configuration *WebTestPropertiesConfiguration `json:"Configuration,omitempty"`
	// ProvisioningState - Current state of this component, whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

WebTestProperties metadata describing a web test for an Azure resource.

type WebTestPropertiesConfiguration

type WebTestPropertiesConfiguration struct {
	// WebTest - The XML specification of a WebTest to run against an application.
	WebTest *string `json:"WebTest,omitempty"`
}

WebTestPropertiesConfiguration an XML configuration specification for a WebTest.

type WebTestsClient

type WebTestsClient struct {
	BaseClient
}

WebTestsClient is the composite Swagger for Application Insights Management Client

func NewWebTestsClient

func NewWebTestsClient(subscriptionID string) WebTestsClient

NewWebTestsClient creates an instance of the WebTestsClient client.

func NewWebTestsClientWithBaseURI

func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTestsClient

NewWebTestsClientWithBaseURI creates an instance of the WebTestsClient client.

func (WebTestsClient) CreateOrUpdate

func (client WebTestsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition WebTest) (result WebTest, err error)

CreateOrUpdate creates or updates an Application Insights web test definition.

resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest resource. webTestDefinition is properties that need to be specified to create or update an Application Insights web test definition.

func (WebTestsClient) CreateOrUpdatePreparer

func (client WebTestsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition WebTest) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WebTestsClient) CreateOrUpdateResponder

func (client WebTestsClient) CreateOrUpdateResponder(resp *http.Response) (result WebTest, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WebTestsClient) CreateOrUpdateSender

func (client WebTestsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (WebTestsClient) Delete

func (client WebTestsClient) Delete(ctx context.Context, resourceGroupName string, webTestName string) (result autorest.Response, err error)

Delete deletes an Application Insights web test.

resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest resource.

func (WebTestsClient) DeletePreparer

func (client WebTestsClient) DeletePreparer(ctx context.Context, resourceGroupName string, webTestName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WebTestsClient) DeleteResponder

func (client WebTestsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WebTestsClient) DeleteSender

func (client WebTestsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (WebTestsClient) Get

func (client WebTestsClient) Get(ctx context.Context, resourceGroupName string, webTestName string) (result WebTest, err error)

Get get a specific Application Insights web test definition.

resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest resource.

func (WebTestsClient) GetPreparer

func (client WebTestsClient) GetPreparer(ctx context.Context, resourceGroupName string, webTestName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WebTestsClient) GetResponder

func (client WebTestsClient) GetResponder(resp *http.Response) (result WebTest, err error)

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

func (WebTestsClient) GetSender

func (client WebTestsClient) 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 (WebTestsClient) List

func (client WebTestsClient) List(ctx context.Context) (result WebTestListResultPage, err error)

List get all Application Insights web test alerts definitioned within a subscription.

func (WebTestsClient) ListByResourceGroup

func (client WebTestsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WebTestListResultPage, err error)

ListByResourceGroup get all Application Insights web tests defined within a specified resource group.

resourceGroupName is the name of the resource group.

func (WebTestsClient) ListByResourceGroupComplete

func (client WebTestsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WebTestListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (WebTestsClient) ListByResourceGroupPreparer

func (client WebTestsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WebTestsClient) ListByResourceGroupResponder

func (client WebTestsClient) ListByResourceGroupResponder(resp *http.Response) (result WebTestListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (WebTestsClient) ListByResourceGroupSender

func (client WebTestsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (WebTestsClient) ListComplete

func (client WebTestsClient) ListComplete(ctx context.Context) (result WebTestListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (WebTestsClient) ListPreparer

func (client WebTestsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (WebTestsClient) ListResponder

func (client WebTestsClient) ListResponder(resp *http.Response) (result WebTestListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WebTestsClient) ListSender

func (client WebTestsClient) ListSender(req *http.Request) (*http.Response, error)

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

func (WebTestsClient) UpdateTags

func (client WebTestsClient) UpdateTags(ctx context.Context, resourceGroupName string, webTestName string, webTestTags TagsResource) (result WebTest, err error)

UpdateTags creates or updates an Application Insights web test definition.

resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest resource. webTestTags is updated tag information to set into the web test instance.

func (WebTestsClient) UpdateTagsPreparer

func (client WebTestsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, webTestName string, webTestTags TagsResource) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (WebTestsClient) UpdateTagsResponder

func (client WebTestsClient) UpdateTagsResponder(resp *http.Response) (result WebTest, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (WebTestsClient) UpdateTagsSender

func (client WebTestsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type WorkItemConfiguration

type WorkItemConfiguration struct {
	autorest.Response `json:"-"`
	// ConnectorID - Connector identifier where work item is created
	ConnectorID *string `json:"ConnectorId,omitempty"`
	// ConfigDisplayName - Configuration friendly name
	ConfigDisplayName *string `json:"ConfigDisplayName,omitempty"`
	// IsDefault - Boolean value indicating whether configuration is default
	IsDefault *bool `json:"IsDefault,omitempty"`
	// ID - Unique Id for work item
	ID *string `json:"Id,omitempty"`
	// ConfigProperties - Serialized JSON object for detailed properties
	ConfigProperties *string `json:"ConfigProperties,omitempty"`
}

WorkItemConfiguration work item configuration associated with an application insights resource.

type WorkItemConfigurationError

type WorkItemConfigurationError struct {
	// Code - Error detail code and explanation
	Code *string `json:"code,omitempty"`
	// Message - Error message
	Message    *string     `json:"message,omitempty"`
	Innererror *InnerError `json:"innererror,omitempty"`
}

WorkItemConfigurationError error associated with trying to get work item configuration or configurations

type WorkItemConfigurationsClient

type WorkItemConfigurationsClient struct {
	BaseClient
}

WorkItemConfigurationsClient is the composite Swagger for Application Insights Management Client

func NewWorkItemConfigurationsClient

func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfigurationsClient

NewWorkItemConfigurationsClient creates an instance of the WorkItemConfigurationsClient client.

func NewWorkItemConfigurationsClientWithBaseURI

func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient

NewWorkItemConfigurationsClientWithBaseURI creates an instance of the WorkItemConfigurationsClient client.

func (WorkItemConfigurationsClient) Create

func (client WorkItemConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties WorkItemCreateConfiguration) (result WorkItemConfiguration, err error)

Create create a work item configuration for an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. workItemConfigurationProperties is properties that need to be specified to create a work item configuration of a Application Insights component.

func (WorkItemConfigurationsClient) CreatePreparer

func (client WorkItemConfigurationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties WorkItemCreateConfiguration) (*http.Request, error)

CreatePreparer prepares the Create request.

func (WorkItemConfigurationsClient) CreateResponder

func (client WorkItemConfigurationsClient) CreateResponder(resp *http.Response) (result WorkItemConfiguration, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) CreateSender

func (client WorkItemConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (WorkItemConfigurationsClient) Delete

func (client WorkItemConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (result SetObject, err error)

Delete delete an workitem configuration of an Application Insights component.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. workItemConfigID is the unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

func (WorkItemConfigurationsClient) DeletePreparer

func (client WorkItemConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkItemConfigurationsClient) DeleteResponder

func (client WorkItemConfigurationsClient) DeleteResponder(resp *http.Response) (result SetObject, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) DeleteSender

func (client WorkItemConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (WorkItemConfigurationsClient) GetDefault

func (client WorkItemConfigurationsClient) GetDefault(ctx context.Context, resourceGroupName string, resourceName string) (result WorkItemConfiguration, err error)

GetDefault gets default work item configurations that exist for the application

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (WorkItemConfigurationsClient) GetDefaultPreparer

func (client WorkItemConfigurationsClient) GetDefaultPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetDefaultPreparer prepares the GetDefault request.

func (WorkItemConfigurationsClient) GetDefaultResponder

func (client WorkItemConfigurationsClient) GetDefaultResponder(resp *http.Response) (result WorkItemConfiguration, err error)

GetDefaultResponder handles the response to the GetDefault request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) GetDefaultSender

func (client WorkItemConfigurationsClient) GetDefaultSender(req *http.Request) (*http.Response, error)

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

func (WorkItemConfigurationsClient) List

func (client WorkItemConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListWorkItemConfiguration, err error)

List gets the list work item configurations that exist for the application

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource.

func (WorkItemConfigurationsClient) ListPreparer

func (client WorkItemConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkItemConfigurationsClient) ListResponder

func (client WorkItemConfigurationsClient) ListResponder(resp *http.Response) (result ListWorkItemConfiguration, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) ListSender

func (client WorkItemConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type WorkItemCreateConfiguration

type WorkItemCreateConfiguration struct {
	// ConnectorID - Unique connector id
	ConnectorID *string `json:"ConnectorId,omitempty"`
	// ConnectorDataConfiguration - Serialized JSON object for detaile d properties
	ConnectorDataConfiguration *string `json:"ConnectorDataConfiguration,omitempty"`
	// ValidateOnly - Boolean indicating validate only
	ValidateOnly *bool `json:"ValidateOnly,omitempty"`
	// WorkItemProperties - Custom work item properties
	WorkItemProperties *string `json:"WorkItemProperties,omitempty"`
}

WorkItemCreateConfiguration work item configuration creation payload

type Workbook

type Workbook struct {
	autorest.Response `json:"-"`
	// Kind - The kind of workbook. Choices are user and shared. Possible values include: 'SharedTypeKindUser', 'SharedTypeKindShared'
	Kind SharedTypeKind `json:"kind,omitempty"`
	// WorkbookProperties - Metadata describing a web test for an Azure resource.
	*WorkbookProperties `json:"properties,omitempty"`
	// ID - Azure resource Id
	ID *string `json:"id,omitempty"`
	// Name - Azure resource name
	Name *string `json:"name,omitempty"`
	// Type - Azure resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Workbook an Application Insights workbook definition.

func (Workbook) MarshalJSON

func (w Workbook) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workbook.

func (*Workbook) UnmarshalJSON

func (w *Workbook) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workbook struct.

type WorkbookClient

type WorkbookClient struct {
	BaseClient
}

WorkbookClient is the composite Swagger for Application Insights Management Client

func NewWorkbookClient

func NewWorkbookClient(subscriptionID string) WorkbookClient

NewWorkbookClient creates an instance of the WorkbookClient client.

func NewWorkbookClientWithBaseURI

func NewWorkbookClientWithBaseURI(baseURI string, subscriptionID string) WorkbookClient

NewWorkbookClientWithBaseURI creates an instance of the WorkbookClient client.

func (WorkbookClient) CreateOrUpdate

func (client WorkbookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (result Workbook, err error)

CreateOrUpdate create a new workbook.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. workbookProperties is properties that need to be specified to create a new workbook.

func (WorkbookClient) CreateOrUpdatePreparer

func (client WorkbookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkbookClient) CreateOrUpdateResponder

func (client WorkbookClient) CreateOrUpdateResponder(resp *http.Response) (result Workbook, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WorkbookClient) CreateOrUpdateSender

func (client WorkbookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (WorkbookClient) Delete

func (client WorkbookClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, location string) (result autorest.Response, err error)

Delete delete a workbook.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. location is the name of location where workbook is stored.

func (WorkbookClient) DeletePreparer

func (client WorkbookClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, location string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkbookClient) DeleteResponder

func (client WorkbookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WorkbookClient) DeleteSender

func (client WorkbookClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (WorkbookClient) Get

func (client WorkbookClient) Get(ctx context.Context, resourceName string, location string) (result Workbook, err error)

Get get a single workbook by its resourceName.

resourceName is the name of the Application Insights component resource. location is the name of location where workbook is stored.

func (WorkbookClient) GetPreparer

func (client WorkbookClient) GetPreparer(ctx context.Context, resourceName string, location string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkbookClient) GetResponder

func (client WorkbookClient) GetResponder(resp *http.Response) (result Workbook, err error)

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

func (WorkbookClient) GetSender

func (client WorkbookClient) 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 (WorkbookClient) List

func (client WorkbookClient) List(ctx context.Context, sourceID string, category CategoryType, tags []string, canFetchContent *bool) (result ListWorkbook, err error)

List gets a list of workbooks by sourceId.

sourceID is azure Resource Id that will fetch all linked workbooks. category is category of workbook to return. tags is tags presents on each workbook returned. canFetchContent is flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (WorkbookClient) ListPreparer

func (client WorkbookClient) ListPreparer(ctx context.Context, sourceID string, category CategoryType, tags []string, canFetchContent *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkbookClient) ListResponder

func (client WorkbookClient) ListResponder(resp *http.Response) (result ListWorkbook, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkbookClient) ListSender

func (client WorkbookClient) ListSender(req *http.Request) (*http.Response, error)

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

func (WorkbookClient) Update

func (client WorkbookClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (result Workbook, err error)

Update updates a workbook that has already been added.

resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights component resource. workbookProperties is properties that need to be specified to create a new workbook.

func (WorkbookClient) UpdatePreparer

func (client WorkbookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkbookClient) UpdateResponder

func (client WorkbookClient) UpdateResponder(resp *http.Response) (result Workbook, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (WorkbookClient) UpdateSender

func (client WorkbookClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type WorkbookError

type WorkbookError struct {
	// Code - Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
	Code *string `json:"code,omitempty"`
	// Message - Human-readable representation of the error.
	Message *string `json:"message,omitempty"`
	// Details - The list of invalid fields send in request, in case of validation error.
	Details *[]ErrorFieldContract `json:"details,omitempty"`
}

WorkbookError error message body that will indicate why the operation failed.

type WorkbookProperties

type WorkbookProperties struct {
	// Name - The user-defined name of the workbook.
	Name *string `json:"name,omitempty"`
	// SerializedData - Configuration of this particular workbook. Configuration data is a string containing valid JSON
	SerializedData *string `json:"serializedData,omitempty"`
	// Version - This instance's version of the data model. This can change as new features are added that can be marked workbook.
	Version *string `json:"version,omitempty"`
	// WorkbookID - Internally assigned unique id of the workbook definition.
	WorkbookID *string `json:"workbookId,omitempty"`
	// SharedTypeKind - Enum indicating if this workbook definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'SharedTypeKindUser', 'SharedTypeKindShared'
	SharedTypeKind SharedTypeKind `json:"kind,omitempty"`
	// TimeModified - Date and time in UTC of the last modification that was made to this workbook definition.
	TimeModified *string `json:"timeModified,omitempty"`
	// Category - Workbook category, as defined by the user at creation time.
	Category *string `json:"category,omitempty"`
	// Tags - A list of 0 or more tags that are associated with this workbook definition
	Tags *[]string `json:"tags,omitempty"`
	// UserID - Unique user id of the specific user that owns this workbook.
	UserID *string `json:"userId,omitempty"`
	// SourceResourceID - Optional resourceId for a source resource.
	SourceResourceID *string `json:"sourceResourceId,omitempty"`
}

WorkbookProperties properties that contain a workbook.

type Workbooks

type Workbooks struct {
	autorest.Response `json:"-"`
	// Value - An array of workbooks.
	Value *[]Workbook `json:"value,omitempty"`
}

Workbooks workbook list result.

type WorkbooksClient

type WorkbooksClient struct {
	BaseClient
}

WorkbooksClient is the composite Swagger for Application Insights Management Client

func NewWorkbooksClient

func NewWorkbooksClient(subscriptionID string) WorkbooksClient

NewWorkbooksClient creates an instance of the WorkbooksClient client.

func NewWorkbooksClientWithBaseURI

func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient

NewWorkbooksClientWithBaseURI creates an instance of the WorkbooksClient client.

func (WorkbooksClient) ListByResourceGroup

func (client WorkbooksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, location string, category CategoryType, tags []string, canFetchContent *bool) (result Workbooks, err error)

ListByResourceGroup get all Workbooks defined within a specified resource group and category.

resourceGroupName is the name of the resource group. location is the name of location where workbook is stored. category is category of workbook to return. tags is tags presents on each workbook returned. canFetchContent is flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (WorkbooksClient) ListByResourceGroupPreparer

func (client WorkbooksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, category CategoryType, tags []string, canFetchContent *bool) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkbooksClient) ListByResourceGroupResponder

func (client WorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result Workbooks, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (WorkbooksClient) ListByResourceGroupSender

func (client WorkbooksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

Jump to

Keyboard shortcuts

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