...

Package insights

import "github.com/Azure/azure-sdk-for-go/services/preview/appinsights/mgmt/2022-02-01-preview/insights"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package insights implements the Azure ARM Insights service API version .

Composite Swagger for Application Insights Management Client

Index ▾

Constants
func UserAgent() string
func Version() string
type APIKeyRequest
type APIKeysClient
    func NewAPIKeysClient(subscriptionID string) APIKeysClient
    func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient
    func (client APIKeysClient) Create(ctx context.Context, resourceGroupName string, resourceName string, APIKeyProperties APIKeyRequest) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, APIKeyProperties APIKeyRequest) (*http.Request, error)
    func (client APIKeysClient) CreateResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client APIKeysClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (*http.Request, error)
    func (client APIKeysClient) DeleteResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client APIKeysClient) Get(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (*http.Request, error)
    func (client APIKeysClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKey, err error)
    func (client APIKeysClient) GetSender(req *http.Request) (*http.Response, error)
    func (client APIKeysClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAPIKeyListResult, err error)
    func (client APIKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client APIKeysClient) ListResponder(resp *http.Response) (result ApplicationInsightsComponentAPIKeyListResult, err error)
    func (client APIKeysClient) ListSender(req *http.Request) (*http.Response, error)
type AnalyticsItemsClient
    func NewAnalyticsItemsClient(subscriptionID string) AnalyticsItemsClient
    func NewAnalyticsItemsClientWithBaseURI(baseURI string, subscriptionID string) AnalyticsItemsClient
    func (client AnalyticsItemsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result autorest.Response, err error)
    func (client AnalyticsItemsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error)
    func (client AnalyticsItemsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AnalyticsItemsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AnalyticsItemsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result ApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error)
    func (client AnalyticsItemsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AnalyticsItemsClient) List(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (result ListApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (*http.Request, error)
    func (client AnalyticsItemsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AnalyticsItemsClient) Put(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (result ApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) PutPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (*http.Request, error)
    func (client AnalyticsItemsClient) PutResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, err error)
    func (client AnalyticsItemsClient) PutSender(req *http.Request) (*http.Response, error)
type Annotation
type AnnotationError
type AnnotationsClient
    func NewAnnotationsClient(subscriptionID string) AnnotationsClient
    func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) AnnotationsClient
    func (client AnnotationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties Annotation) (result ListAnnotation, err error)
    func (client AnnotationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties Annotation) (*http.Request, error)
    func (client AnnotationsClient) CreateResponder(resp *http.Response) (result ListAnnotation, err error)
    func (client AnnotationsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client AnnotationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result autorest.Response, err error)
    func (client AnnotationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (*http.Request, error)
    func (client AnnotationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AnnotationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AnnotationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result ListAnnotation, err error)
    func (client AnnotationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (*http.Request, error)
    func (client AnnotationsClient) GetResponder(resp *http.Response) (result ListAnnotation, err error)
    func (client AnnotationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AnnotationsClient) List(ctx context.Context, resourceGroupName string, resourceName string, start string, end string) (result AnnotationsListResult, err error)
    func (client AnnotationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, start string, end string) (*http.Request, error)
    func (client AnnotationsClient) ListResponder(resp *http.Response) (result AnnotationsListResult, err error)
    func (client AnnotationsClient) ListSender(req *http.Request) (*http.Response, error)
type AnnotationsListResult
    func (alr AnnotationsListResult) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponent
    func (aic ApplicationInsightsComponent) MarshalJSON() ([]byte, error)
    func (aic *ApplicationInsightsComponent) UnmarshalJSON(body []byte) error
type ApplicationInsightsComponentAPIKey
    func (aicak ApplicationInsightsComponentAPIKey) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentAPIKeyListResult
type ApplicationInsightsComponentAnalyticsItem
    func (aicai ApplicationInsightsComponentAnalyticsItem) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentAnalyticsItemProperties
type ApplicationInsightsComponentAvailableFeatures
    func (aicaf ApplicationInsightsComponentAvailableFeatures) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentBillingFeatures
type ApplicationInsightsComponentDataVolumeCap
    func (aicdvc ApplicationInsightsComponentDataVolumeCap) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentExportConfiguration
    func (aicec ApplicationInsightsComponentExportConfiguration) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentExportRequest
type ApplicationInsightsComponentFavorite
    func (aicf ApplicationInsightsComponentFavorite) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentFeature
    func (aicf ApplicationInsightsComponentFeature) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentFeatureCapabilities
    func (aicfc ApplicationInsightsComponentFeatureCapabilities) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentFeatureCapability
    func (aicfc ApplicationInsightsComponentFeatureCapability) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentListResult
    func (aiclr ApplicationInsightsComponentListResult) IsEmpty() bool
type ApplicationInsightsComponentListResultIterator
    func NewApplicationInsightsComponentListResultIterator(page ApplicationInsightsComponentListResultPage) ApplicationInsightsComponentListResultIterator
    func (iter *ApplicationInsightsComponentListResultIterator) Next() error
    func (iter *ApplicationInsightsComponentListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ApplicationInsightsComponentListResultIterator) NotDone() bool
    func (iter ApplicationInsightsComponentListResultIterator) Response() ApplicationInsightsComponentListResult
    func (iter ApplicationInsightsComponentListResultIterator) Value() ApplicationInsightsComponent
type ApplicationInsightsComponentListResultPage
    func NewApplicationInsightsComponentListResultPage(cur ApplicationInsightsComponentListResult, getNextPage func(context.Context, ApplicationInsightsComponentListResult) (ApplicationInsightsComponentListResult, error)) ApplicationInsightsComponentListResultPage
    func (page *ApplicationInsightsComponentListResultPage) Next() error
    func (page *ApplicationInsightsComponentListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ApplicationInsightsComponentListResultPage) NotDone() bool
    func (page ApplicationInsightsComponentListResultPage) Response() ApplicationInsightsComponentListResult
    func (page ApplicationInsightsComponentListResultPage) Values() []ApplicationInsightsComponent
type ApplicationInsightsComponentProactiveDetectionConfiguration
type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
type ApplicationInsightsComponentProperties
    func (aicp ApplicationInsightsComponentProperties) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentQuotaStatus
    func (aicqs ApplicationInsightsComponentQuotaStatus) MarshalJSON() ([]byte, error)
type ApplicationInsightsComponentWebTestLocation
    func (aicwtl ApplicationInsightsComponentWebTestLocation) MarshalJSON() ([]byte, error)
type ApplicationInsightsWebTestLocationsListResult
type ApplicationType
    func PossibleApplicationTypeValues() []ApplicationType
type AzureEntityResource
    func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type CategoryType
    func PossibleCategoryTypeValues() []CategoryType
type ComponentAvailableFeaturesClient
    func NewComponentAvailableFeaturesClient(subscriptionID string) ComponentAvailableFeaturesClient
    func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentAvailableFeaturesClient
    func (client ComponentAvailableFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAvailableFeatures, err error)
    func (client ComponentAvailableFeaturesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentAvailableFeaturesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAvailableFeatures, err error)
    func (client ComponentAvailableFeaturesClient) GetSender(req *http.Request) (*http.Response, error)
type ComponentCurrentBillingFeaturesClient
    func NewComponentCurrentBillingFeaturesClient(subscriptionID string) ComponentCurrentBillingFeaturesClient
    func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentCurrentBillingFeaturesClient
    func (client ComponentCurrentBillingFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentBillingFeatures, err error)
    func (client ComponentCurrentBillingFeaturesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentCurrentBillingFeaturesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentBillingFeatures, err error)
    func (client ComponentCurrentBillingFeaturesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ComponentCurrentBillingFeaturesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties ApplicationInsightsComponentBillingFeatures) (result ApplicationInsightsComponentBillingFeatures, err error)
    func (client ComponentCurrentBillingFeaturesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties ApplicationInsightsComponentBillingFeatures) (*http.Request, error)
    func (client ComponentCurrentBillingFeaturesClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentBillingFeatures, err error)
    func (client ComponentCurrentBillingFeaturesClient) UpdateSender(req *http.Request) (*http.Response, error)
type ComponentFeatureCapabilitiesClient
    func NewComponentFeatureCapabilitiesClient(subscriptionID string) ComponentFeatureCapabilitiesClient
    func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) ComponentFeatureCapabilitiesClient
    func (client ComponentFeatureCapabilitiesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentFeatureCapabilities, err error)
    func (client ComponentFeatureCapabilitiesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentFeatureCapabilitiesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentFeatureCapabilities, err error)
    func (client ComponentFeatureCapabilitiesClient) GetSender(req *http.Request) (*http.Response, error)
type ComponentLinkedStorageAccounts
    func (clsa ComponentLinkedStorageAccounts) MarshalJSON() ([]byte, error)
    func (clsa *ComponentLinkedStorageAccounts) UnmarshalJSON(body []byte) error
type ComponentLinkedStorageAccountsClient
    func NewComponentLinkedStorageAccountsClient(subscriptionID string) ComponentLinkedStorageAccountsClient
    func NewComponentLinkedStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) ComponentLinkedStorageAccountsClient
    func (client ComponentLinkedStorageAccountsClient) CreateAndUpdate(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccounts) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) CreateAndUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccounts) (*http.Request, error)
    func (client ComponentLinkedStorageAccountsClient) CreateAndUpdateResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) CreateAndUpdateSender(req *http.Request) (*http.Response, error)
    func (client ComponentLinkedStorageAccountsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
    func (client ComponentLinkedStorageAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentLinkedStorageAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ComponentLinkedStorageAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ComponentLinkedStorageAccountsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentLinkedStorageAccountsClient) GetResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ComponentLinkedStorageAccountsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccountsPatch) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccountsPatch) (*http.Request, error)
    func (client ComponentLinkedStorageAccountsClient) UpdateResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)
    func (client ComponentLinkedStorageAccountsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ComponentLinkedStorageAccountsPatch
    func (clsap ComponentLinkedStorageAccountsPatch) MarshalJSON() ([]byte, error)
    func (clsap *ComponentLinkedStorageAccountsPatch) UnmarshalJSON(body []byte) error
type ComponentPurgeBody
type ComponentPurgeBodyFilters
type ComponentPurgeResponse
type ComponentPurgeStatusResponse
type ComponentQuotaStatusClient
    func NewComponentQuotaStatusClient(subscriptionID string) ComponentQuotaStatusClient
    func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string) ComponentQuotaStatusClient
    func (client ComponentQuotaStatusClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentQuotaStatus, err error)
    func (client ComponentQuotaStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentQuotaStatusClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentQuotaStatus, err error)
    func (client ComponentQuotaStatusClient) GetSender(req *http.Request) (*http.Response, error)
type ComponentsClient
    func NewComponentsClient(subscriptionID string) ComponentsClient
    func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) ComponentsClient
    func (client ComponentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, insightProperties ApplicationInsightsComponent) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, insightProperties ApplicationInsightsComponent) (*http.Request, error)
    func (client ComponentsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
    func (client ComponentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ComponentsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (result ComponentPurgeStatusResponse, err error)
    func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (*http.Request, error)
    func (client ComponentsClient) GetPurgeStatusResponder(resp *http.Response) (result ComponentPurgeStatusResponse, err error)
    func (client ComponentsClient) GetPurgeStatusSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) List(ctx context.Context) (result ApplicationInsightsComponentListResultPage, err error)
    func (client ComponentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationInsightsComponentListResultPage, err error)
    func (client ComponentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationInsightsComponentListResultIterator, err error)
    func (client ComponentsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ComponentsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationInsightsComponentListResult, err error)
    func (client ComponentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) ListComplete(ctx context.Context) (result ApplicationInsightsComponentListResultIterator, err error)
    func (client ComponentsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client ComponentsClient) ListResponder(resp *http.Response) (result ApplicationInsightsComponentListResult, err error)
    func (client ComponentsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) Purge(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (result ComponentPurgeResponse, err error)
    func (client ComponentsClient) PurgePreparer(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (*http.Request, error)
    func (client ComponentsClient) PurgeResponder(resp *http.Response) (result ComponentPurgeResponse, err error)
    func (client ComponentsClient) PurgeSender(req *http.Request) (*http.Response, error)
    func (client ComponentsClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, componentTags TagsResource) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, resourceName string, componentTags TagsResource) (*http.Request, error)
    func (client ComponentsClient) UpdateTagsResponder(resp *http.Response) (result ApplicationInsightsComponent, err error)
    func (client ComponentsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
type ComponentsResource
    func (cr ComponentsResource) MarshalJSON() ([]byte, error)
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type ErrorDefinition
    func (ed ErrorDefinition) MarshalJSON() ([]byte, error)
type ErrorResponse
type ErrorResponseComponents
type ErrorResponseComponentsError
    func (erc ErrorResponseComponentsError) MarshalJSON() ([]byte, error)
type ErrorResponseLinkedStorage
type ErrorResponseLinkedStorageError
    func (erls ErrorResponseLinkedStorageError) MarshalJSON() ([]byte, error)
type ExportConfigurationsClient
    func NewExportConfigurationsClient(subscriptionID string) ExportConfigurationsClient
    func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ExportConfigurationsClient
    func (client ExportConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, exportProperties ApplicationInsightsComponentExportRequest) (result ListApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportProperties ApplicationInsightsComponentExportRequest) (*http.Request, error)
    func (client ExportConfigurationsClient) CreateResponder(resp *http.Response) (result ListApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client ExportConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (*http.Request, error)
    func (client ExportConfigurationsClient) DeleteResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ExportConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (*http.Request, error)
    func (client ExportConfigurationsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ExportConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ExportConfigurationsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ExportConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties ApplicationInsightsComponentExportRequest) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties ApplicationInsightsComponentExportRequest) (*http.Request, error)
    func (client ExportConfigurationsClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)
    func (client ExportConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error)
type FavoriteSourceType
    func PossibleFavoriteSourceTypeValues() []FavoriteSourceType
type FavoriteType
    func PossibleFavoriteTypeValues() []FavoriteType
type FavoritesClient
    func NewFavoritesClient(subscriptionID string) FavoritesClient
    func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) FavoritesClient
    func (client FavoritesClient) Add(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) AddPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (*http.Request, error)
    func (client FavoritesClient) AddResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) AddSender(req *http.Request) (*http.Response, error)
    func (client FavoritesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result autorest.Response, err error)
    func (client FavoritesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (*http.Request, error)
    func (client FavoritesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client FavoritesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client FavoritesClient) Get(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (*http.Request, error)
    func (client FavoritesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client FavoritesClient) List(ctx context.Context, resourceGroupName string, resourceName string, favoriteType FavoriteType, sourceType FavoriteSourceType, canFetchContent *bool, tags []string) (result ListApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteType FavoriteType, sourceType FavoriteSourceType, canFetchContent *bool, tags []string) (*http.Request, error)
    func (client FavoritesClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client FavoritesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (*http.Request, error)
    func (client FavoritesClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentFavorite, err error)
    func (client FavoritesClient) UpdateSender(req *http.Request) (*http.Response, error)
type FlowType
    func PossibleFlowTypeValues() []FlowType
type IngestionMode
    func PossibleIngestionModeValues() []IngestionMode
type InnerError
type InnerErrorTrace
    func (iet InnerErrorTrace) MarshalJSON() ([]byte, error)
type ItemScope
    func PossibleItemScopeValues() []ItemScope
type ItemScopePath
    func PossibleItemScopePathValues() []ItemScopePath
type ItemType
    func PossibleItemTypeValues() []ItemType
type ItemTypeParameter
    func PossibleItemTypeParameterValues() []ItemTypeParameter
type Kind
    func PossibleKindValues() []Kind
type LinkedStorageAccountsProperties
type ListAnnotation
type ListApplicationInsightsComponentAnalyticsItem
type ListApplicationInsightsComponentExportConfiguration
type ListApplicationInsightsComponentFavorite
type ListApplicationInsightsComponentProactiveDetectionConfiguration
type LiveTokenClient
    func NewLiveTokenClient(subscriptionID string) LiveTokenClient
    func NewLiveTokenClientWithBaseURI(baseURI string, subscriptionID string) LiveTokenClient
    func (client LiveTokenClient) Get(ctx context.Context, resourceURI string) (result LiveTokenResponse, err error)
    func (client LiveTokenClient) GetPreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client LiveTokenClient) GetResponder(resp *http.Response) (result LiveTokenResponse, err error)
    func (client LiveTokenClient) GetSender(req *http.Request) (*http.Response, error)
type LiveTokenResponse
    func (ltr LiveTokenResponse) MarshalJSON() ([]byte, error)
type ManagedServiceIdentity
    func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error)
type ManagedServiceIdentityType
    func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType
type MyWorkbook
    func (mw MyWorkbook) MarshalJSON() ([]byte, error)
    func (mw *MyWorkbook) UnmarshalJSON(body []byte) error
type MyWorkbookError
type MyWorkbookManagedIdentity
type MyWorkbookProperties
    func (mwp MyWorkbookProperties) MarshalJSON() ([]byte, error)
type MyWorkbookResource
    func (mwr MyWorkbookResource) MarshalJSON() ([]byte, error)
type MyWorkbookUserAssignedIdentities
    func (mwuai MyWorkbookUserAssignedIdentities) MarshalJSON() ([]byte, error)
type MyWorkbooksClient
    func NewMyWorkbooksClient(subscriptionID string) MyWorkbooksClient
    func NewMyWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) MyWorkbooksClient
    func (client MyWorkbooksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (*http.Request, error)
    func (client MyWorkbooksClient) CreateOrUpdateResponder(resp *http.Response) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client MyWorkbooksClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
    func (client MyWorkbooksClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client MyWorkbooksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MyWorkbooksClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client MyWorkbooksClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client MyWorkbooksClient) GetResponder(resp *http.Response) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MyWorkbooksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result MyWorkbooksListResultPage, err error)
    func (client MyWorkbooksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result MyWorkbooksListResultIterator, err error)
    func (client MyWorkbooksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (*http.Request, error)
    func (client MyWorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result MyWorkbooksListResult, err error)
    func (client MyWorkbooksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client MyWorkbooksClient) ListBySubscription(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result MyWorkbooksListResultPage, err error)
    func (client MyWorkbooksClient) ListBySubscriptionComplete(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result MyWorkbooksListResultIterator, err error)
    func (client MyWorkbooksClient) ListBySubscriptionPreparer(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (*http.Request, error)
    func (client MyWorkbooksClient) ListBySubscriptionResponder(resp *http.Response) (result MyWorkbooksListResult, err error)
    func (client MyWorkbooksClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client MyWorkbooksClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (*http.Request, error)
    func (client MyWorkbooksClient) UpdateResponder(resp *http.Response) (result MyWorkbook, err error)
    func (client MyWorkbooksClient) UpdateSender(req *http.Request) (*http.Response, error)
type MyWorkbooksListResult
    func (mwlr MyWorkbooksListResult) IsEmpty() bool
    func (mwlr MyWorkbooksListResult) MarshalJSON() ([]byte, error)
type MyWorkbooksListResultIterator
    func NewMyWorkbooksListResultIterator(page MyWorkbooksListResultPage) MyWorkbooksListResultIterator
    func (iter *MyWorkbooksListResultIterator) Next() error
    func (iter *MyWorkbooksListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MyWorkbooksListResultIterator) NotDone() bool
    func (iter MyWorkbooksListResultIterator) Response() MyWorkbooksListResult
    func (iter MyWorkbooksListResultIterator) Value() MyWorkbook
type MyWorkbooksListResultPage
    func NewMyWorkbooksListResultPage(cur MyWorkbooksListResult, getNextPage func(context.Context, MyWorkbooksListResult) (MyWorkbooksListResult, error)) MyWorkbooksListResultPage
    func (page *MyWorkbooksListResultPage) Next() error
    func (page *MyWorkbooksListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page MyWorkbooksListResultPage) NotDone() bool
    func (page MyWorkbooksListResultPage) Response() MyWorkbooksListResult
    func (page MyWorkbooksListResultPage) Values() []MyWorkbook
type Operation
type OperationDisplay
type OperationInfo
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() Operation
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []Operation
type OperationLive
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
    func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type OperationsListResult
type PrivateLinkScopedResource
type ProactiveDetectionConfigurationsClient
    func NewProactiveDetectionConfigurationsClient(subscriptionID string) ProactiveDetectionConfigurationsClient
    func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ProactiveDetectionConfigurationsClient
    func (client ProactiveDetectionConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, configurationID string) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, configurationID string) (*http.Request, error)
    func (client ProactiveDetectionConfigurationsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ProactiveDetectionConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client ProactiveDetectionConfigurationsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ProactiveDetectionConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties ApplicationInsightsComponentProactiveDetectionConfiguration) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties ApplicationInsightsComponentProactiveDetectionConfiguration) (*http.Request, error)
    func (client ProactiveDetectionConfigurationsClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)
    func (client ProactiveDetectionConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ProxyResource
    func (pr ProxyResource) MarshalJSON() ([]byte, error)
type PublicNetworkAccessType
    func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType
type PurgeState
    func PossiblePurgeStateValues() []PurgeState
type RequestSource
    func PossibleRequestSourceValues() []RequestSource
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type SharedTypeKind
    func PossibleSharedTypeKindValues() []SharedTypeKind
type SystemData
type TagsResource
    func (tr TagsResource) MarshalJSON() ([]byte, error)
type TrackedResource
    func (tr TrackedResource) MarshalJSON() ([]byte, error)
type Type
    func PossibleTypeValues() []Type
type UserAssignedIdentity
    func (uai UserAssignedIdentity) MarshalJSON() ([]byte, error)
type WebTest
    func (wt WebTest) MarshalJSON() ([]byte, error)
    func (wt *WebTest) UnmarshalJSON(body []byte) error
type WebTestGeolocation
type WebTestKind
    func PossibleWebTestKindValues() []WebTestKind
type WebTestListResult
    func (wtlr WebTestListResult) IsEmpty() bool
type WebTestListResultIterator
    func NewWebTestListResultIterator(page WebTestListResultPage) WebTestListResultIterator
    func (iter *WebTestListResultIterator) Next() error
    func (iter *WebTestListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter WebTestListResultIterator) NotDone() bool
    func (iter WebTestListResultIterator) Response() WebTestListResult
    func (iter WebTestListResultIterator) Value() WebTest
type WebTestListResultPage
    func NewWebTestListResultPage(cur WebTestListResult, getNextPage func(context.Context, WebTestListResult) (WebTestListResult, error)) WebTestListResultPage
    func (page *WebTestListResultPage) Next() error
    func (page *WebTestListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page WebTestListResultPage) NotDone() bool
    func (page WebTestListResultPage) Response() WebTestListResult
    func (page WebTestListResultPage) Values() []WebTest
type WebTestLocationsClient
    func NewWebTestLocationsClient(subscriptionID string) WebTestLocationsClient
    func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) WebTestLocationsClient
    func (client WebTestLocationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsWebTestLocationsListResult, err error)
    func (client WebTestLocationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WebTestLocationsClient) ListResponder(resp *http.Response) (result ApplicationInsightsWebTestLocationsListResult, err error)
    func (client WebTestLocationsClient) ListSender(req *http.Request) (*http.Response, error)
type WebTestProperties
    func (wtp WebTestProperties) MarshalJSON() ([]byte, error)
type WebTestPropertiesConfiguration
type WebTestsClient
    func NewWebTestsClient(subscriptionID string) WebTestsClient
    func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTestsClient
    func (client WebTestsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition WebTest) (result WebTest, err error)
    func (client WebTestsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition WebTest) (*http.Request, error)
    func (client WebTestsClient) CreateOrUpdateResponder(resp *http.Response) (result WebTest, err error)
    func (client WebTestsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) Delete(ctx context.Context, resourceGroupName string, webTestName string) (result autorest.Response, err error)
    func (client WebTestsClient) DeletePreparer(ctx context.Context, resourceGroupName string, webTestName string) (*http.Request, error)
    func (client WebTestsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client WebTestsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) Get(ctx context.Context, resourceGroupName string, webTestName string) (result WebTest, err error)
    func (client WebTestsClient) GetPreparer(ctx context.Context, resourceGroupName string, webTestName string) (*http.Request, error)
    func (client WebTestsClient) GetResponder(resp *http.Response) (result WebTest, err error)
    func (client WebTestsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) List(ctx context.Context) (result WebTestListResultPage, err error)
    func (client WebTestsClient) ListByComponent(ctx context.Context, componentName string, resourceGroupName string) (result WebTestListResultPage, err error)
    func (client WebTestsClient) ListByComponentComplete(ctx context.Context, componentName string, resourceGroupName string) (result WebTestListResultIterator, err error)
    func (client WebTestsClient) ListByComponentPreparer(ctx context.Context, componentName string, resourceGroupName string) (*http.Request, error)
    func (client WebTestsClient) ListByComponentResponder(resp *http.Response) (result WebTestListResult, err error)
    func (client WebTestsClient) ListByComponentSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WebTestListResultPage, err error)
    func (client WebTestsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WebTestListResultIterator, err error)
    func (client WebTestsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client WebTestsClient) ListByResourceGroupResponder(resp *http.Response) (result WebTestListResult, err error)
    func (client WebTestsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) ListComplete(ctx context.Context) (result WebTestListResultIterator, err error)
    func (client WebTestsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client WebTestsClient) ListResponder(resp *http.Response) (result WebTestListResult, err error)
    func (client WebTestsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client WebTestsClient) UpdateTags(ctx context.Context, resourceGroupName string, webTestName string, webTestTags TagsResource) (result WebTest, err error)
    func (client WebTestsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, webTestName string, webTestTags TagsResource) (*http.Request, error)
    func (client WebTestsClient) UpdateTagsResponder(resp *http.Response) (result WebTest, err error)
    func (client WebTestsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
type WebtestsResource
    func (wr WebtestsResource) MarshalJSON() ([]byte, error)
type WorkItemConfiguration
type WorkItemConfigurationError
type WorkItemConfigurationsClient
    func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfigurationsClient
    func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient
    func (client WorkItemConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties WorkItemCreateConfiguration) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties WorkItemCreateConfiguration) (*http.Request, error)
    func (client WorkItemConfigurationsClient) CreateResponder(resp *http.Response) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client WorkItemConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (result autorest.Response, err error)
    func (client WorkItemConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (*http.Request, error)
    func (client WorkItemConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client WorkItemConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client WorkItemConfigurationsClient) GetDefault(ctx context.Context, resourceGroupName string, resourceName string) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) GetDefaultPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkItemConfigurationsClient) GetDefaultResponder(resp *http.Response) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) GetDefaultSender(req *http.Request) (*http.Response, error)
    func (client WorkItemConfigurationsClient) GetItem(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) GetItemPreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (*http.Request, error)
    func (client WorkItemConfigurationsClient) GetItemResponder(resp *http.Response) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) GetItemSender(req *http.Request) (*http.Response, error)
    func (client WorkItemConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result WorkItemConfigurationsListResult, err error)
    func (client WorkItemConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkItemConfigurationsClient) ListResponder(resp *http.Response) (result WorkItemConfigurationsListResult, err error)
    func (client WorkItemConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client WorkItemConfigurationsClient) UpdateItem(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string, workItemConfigurationProperties WorkItemCreateConfiguration) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) UpdateItemPreparer(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string, workItemConfigurationProperties WorkItemCreateConfiguration) (*http.Request, error)
    func (client WorkItemConfigurationsClient) UpdateItemResponder(resp *http.Response) (result WorkItemConfiguration, err error)
    func (client WorkItemConfigurationsClient) UpdateItemSender(req *http.Request) (*http.Response, error)
type WorkItemConfigurationsListResult
    func (wiclr WorkItemConfigurationsListResult) MarshalJSON() ([]byte, error)
type WorkItemCreateConfiguration
    func (wicc WorkItemCreateConfiguration) MarshalJSON() ([]byte, error)
type Workbook
    func (w Workbook) MarshalJSON() ([]byte, error)
    func (w *Workbook) UnmarshalJSON(body []byte) error
type WorkbookError
type WorkbookErrorDefinition
    func (wed WorkbookErrorDefinition) MarshalJSON() ([]byte, error)
type WorkbookInnerErrorTrace
    func (wiet WorkbookInnerErrorTrace) MarshalJSON() ([]byte, error)
type WorkbookProperties
    func (wp WorkbookProperties) MarshalJSON() ([]byte, error)
type WorkbookPropertiesUpdateParameters
type WorkbookResource
    func (wr WorkbookResource) MarshalJSON() ([]byte, error)
type WorkbookResourceIdentity
    func (wr WorkbookResourceIdentity) MarshalJSON() ([]byte, error)
type WorkbookTemplate
    func (wt WorkbookTemplate) MarshalJSON() ([]byte, error)
    func (wt *WorkbookTemplate) UnmarshalJSON(body []byte) error
type WorkbookTemplateError
type WorkbookTemplateErrorBody
type WorkbookTemplateErrorFieldContract
type WorkbookTemplateGallery
type WorkbookTemplateLocalizedGallery
type WorkbookTemplateProperties
    func (wtp WorkbookTemplateProperties) MarshalJSON() ([]byte, error)
type WorkbookTemplateResource
    func (wtr WorkbookTemplateResource) MarshalJSON() ([]byte, error)
type WorkbookTemplateUpdateParameters
    func (wtup WorkbookTemplateUpdateParameters) MarshalJSON() ([]byte, error)
    func (wtup *WorkbookTemplateUpdateParameters) UnmarshalJSON(body []byte) error
type WorkbookTemplatesClient
    func NewWorkbookTemplatesClient(subscriptionID string) WorkbookTemplatesClient
    func NewWorkbookTemplatesClientWithBaseURI(baseURI string, subscriptionID string) WorkbookTemplatesClient
    func (client WorkbookTemplatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateProperties WorkbookTemplate) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateProperties WorkbookTemplate) (*http.Request, error)
    func (client WorkbookTemplatesClient) CreateOrUpdateResponder(resp *http.Response) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client WorkbookTemplatesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
    func (client WorkbookTemplatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkbookTemplatesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client WorkbookTemplatesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client WorkbookTemplatesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkbookTemplatesClient) GetResponder(resp *http.Response) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client WorkbookTemplatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkbookTemplatesListResult, err error)
    func (client WorkbookTemplatesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client WorkbookTemplatesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkbookTemplatesListResult, err error)
    func (client WorkbookTemplatesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client WorkbookTemplatesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateUpdateParameters *WorkbookTemplateUpdateParameters) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateUpdateParameters *WorkbookTemplateUpdateParameters) (*http.Request, error)
    func (client WorkbookTemplatesClient) UpdateResponder(resp *http.Response) (result WorkbookTemplate, err error)
    func (client WorkbookTemplatesClient) UpdateSender(req *http.Request) (*http.Response, error)
type WorkbookTemplatesListResult
type WorkbookUpdateParameters
    func (wup WorkbookUpdateParameters) MarshalJSON() ([]byte, error)
    func (wup *WorkbookUpdateParameters) UnmarshalJSON(body []byte) error
type WorkbooksClient
    func NewWorkbooksClient(subscriptionID string) WorkbooksClient
    func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient
    func (client WorkbooksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook, sourceID string) (result Workbook, err error)
    func (client WorkbooksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook, sourceID string) (*http.Request, error)
    func (client WorkbooksClient) CreateOrUpdateResponder(resp *http.Response) (result Workbook, err error)
    func (client WorkbooksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
    func (client WorkbooksClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkbooksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client WorkbooksClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) Get(ctx context.Context, resourceGroupName string, resourceName string, canFetchContent *bool) (result Workbook, err error)
    func (client WorkbooksClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, canFetchContent *bool) (*http.Request, error)
    func (client WorkbooksClient) GetResponder(resp *http.Response) (result Workbook, err error)
    func (client WorkbooksClient) GetSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result WorkbooksListResultPage, err error)
    func (client WorkbooksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result WorkbooksListResultIterator, err error)
    func (client WorkbooksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (*http.Request, error)
    func (client WorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result WorkbooksListResult, err error)
    func (client WorkbooksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) ListBySubscription(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result WorkbooksListResultPage, err error)
    func (client WorkbooksClient) ListBySubscriptionComplete(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result WorkbooksListResultIterator, err error)
    func (client WorkbooksClient) ListBySubscriptionPreparer(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (*http.Request, error)
    func (client WorkbooksClient) ListBySubscriptionResponder(resp *http.Response) (result WorkbooksListResult, err error)
    func (client WorkbooksClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) RevisionGet(ctx context.Context, resourceGroupName string, resourceName string, revisionID string) (result Workbook, err error)
    func (client WorkbooksClient) RevisionGetPreparer(ctx context.Context, resourceGroupName string, resourceName string, revisionID string) (*http.Request, error)
    func (client WorkbooksClient) RevisionGetResponder(resp *http.Response) (result Workbook, err error)
    func (client WorkbooksClient) RevisionGetSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) RevisionsList(ctx context.Context, resourceGroupName string, resourceName string) (result WorkbooksListResultPage, err error)
    func (client WorkbooksClient) RevisionsListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result WorkbooksListResultIterator, err error)
    func (client WorkbooksClient) RevisionsListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
    func (client WorkbooksClient) RevisionsListResponder(resp *http.Response) (result WorkbooksListResult, err error)
    func (client WorkbooksClient) RevisionsListSender(req *http.Request) (*http.Response, error)
    func (client WorkbooksClient) Update(ctx context.Context, resourceGroupName string, resourceName string, sourceID string, workbookUpdateParameters *WorkbookUpdateParameters) (result Workbook, err error)
    func (client WorkbooksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, sourceID string, workbookUpdateParameters *WorkbookUpdateParameters) (*http.Request, error)
    func (client WorkbooksClient) UpdateResponder(resp *http.Response) (result Workbook, err error)
    func (client WorkbooksClient) UpdateSender(req *http.Request) (*http.Response, error)
type WorkbooksListResult
    func (wlr WorkbooksListResult) IsEmpty() bool
    func (wlr WorkbooksListResult) MarshalJSON() ([]byte, error)
type WorkbooksListResultIterator
    func NewWorkbooksListResultIterator(page WorkbooksListResultPage) WorkbooksListResultIterator
    func (iter *WorkbooksListResultIterator) Next() error
    func (iter *WorkbooksListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter WorkbooksListResultIterator) NotDone() bool
    func (iter WorkbooksListResultIterator) Response() WorkbooksListResult
    func (iter WorkbooksListResultIterator) Value() Workbook
type WorkbooksListResultPage
    func NewWorkbooksListResultPage(cur WorkbooksListResult, getNextPage func(context.Context, WorkbooksListResult) (WorkbooksListResult, error)) WorkbooksListResultPage
    func (page *WorkbooksListResultPage) Next() error
    func (page *WorkbooksListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page WorkbooksListResultPage) NotDone() bool
    func (page WorkbooksListResultPage) Response() WorkbooksListResult
    func (page WorkbooksListResultPage) Values() []Workbook

Package files

analyticsitems.go annotations.go apikeys.go client.go componentavailablefeatures.go componentcurrentbillingfeatures.go componentfeaturecapabilities.go componentlinkedstorageaccounts.go componentquotastatus.go components.go enums.go exportconfigurations.go favorites.go livetoken.go models.go myworkbooks.go operations.go proactivedetectionconfigurations.go version.go webtestlocations.go webtests.go workbooks.go workbooktemplates.go workitemconfigurations.go

Constants

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

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

type APIKeyRequest

APIKeyRequest an Application Insights component API Key creation request definition.

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

type APIKeysClient

APIKeysClient is the composite Swagger for Application Insights Management Client

type APIKeysClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. APIKeyProperties - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. keyID - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. keyID - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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 AnalyticsItemsClient

AnalyticsItemsClient is the composite Swagger for Application Insights Management Client

type AnalyticsItemsClient struct {
    BaseClient
}

func NewAnalyticsItemsClient

func NewAnalyticsItemsClient(subscriptionID string) AnalyticsItemsClient

NewAnalyticsItemsClient creates an instance of the AnalyticsItemsClient client.

func NewAnalyticsItemsClientWithBaseURI

func NewAnalyticsItemsClientWithBaseURI(baseURI string, subscriptionID string) AnalyticsItemsClient

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

func (AnalyticsItemsClient) Delete

func (client AnalyticsItemsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result autorest.Response, err error)

Delete deletes a specific Analytics Items defined within an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. scopePath - enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. ID - the Id of a specific item defined in the Application Insights component name - the name of a specific item defined in the Application Insights component

func (AnalyticsItemsClient) DeletePreparer

func (client AnalyticsItemsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AnalyticsItemsClient) DeleteResponder

func (client AnalyticsItemsClient) 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 (AnalyticsItemsClient) DeleteSender

func (client AnalyticsItemsClient) 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 (AnalyticsItemsClient) Get

func (client AnalyticsItemsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result ApplicationInsightsComponentAnalyticsItem, err error)

Get gets a specific Analytics Items defined within an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. scopePath - enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. ID - the Id of a specific item defined in the Application Insights component name - the name of a specific item defined in the Application Insights component

func (AnalyticsItemsClient) GetPreparer

func (client AnalyticsItemsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AnalyticsItemsClient) GetResponder

func (client AnalyticsItemsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, err error)

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

func (AnalyticsItemsClient) GetSender

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

func (client AnalyticsItemsClient) List(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (result ListApplicationInsightsComponentAnalyticsItem, err error)

List gets a list of Analytics Items defined within an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. scopePath - enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. scope - enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. typeParameter - enum indicating the type of the Analytics item. includeContent - flag indicating whether or not to return the content of each applicable item. If false, only return the item information.

func (AnalyticsItemsClient) ListPreparer

func (client AnalyticsItemsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (AnalyticsItemsClient) ListResponder

func (client AnalyticsItemsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentAnalyticsItem, err error)

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

func (AnalyticsItemsClient) ListSender

func (client AnalyticsItemsClient) 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 (AnalyticsItemsClient) Put

func (client AnalyticsItemsClient) Put(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (result ApplicationInsightsComponentAnalyticsItem, err error)

Put adds or Updates a specific Analytics Item within an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. scopePath - enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. itemProperties - properties that need to be specified to create a new item and add it to an Application Insights component. overrideItem - flag indicating whether or not to force save an item. This allows overriding an item if it already exists.

func (AnalyticsItemsClient) PutPreparer

func (client AnalyticsItemsClient) PutPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (*http.Request, error)

PutPreparer prepares the Put request.

func (AnalyticsItemsClient) PutResponder

func (client AnalyticsItemsClient) PutResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, err error)

PutResponder handles the response to the Put request. The method always closes the http.Response Body.

func (AnalyticsItemsClient) PutSender

func (client AnalyticsItemsClient) PutSender(req *http.Request) (*http.Response, error)

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

type Annotation

Annotation annotation associated with an application insights resource.

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

type AnnotationError

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

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

type AnnotationsClient

AnnotationsClient is the composite Swagger for Application Insights Management Client

type AnnotationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. annotationProperties - 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 autorest.Response, err error)

Delete delete an Annotation of an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. annotationID - 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 autorest.Response, 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. annotationID - 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 AnnotationsListResult, err error)

List gets the list of annotations for a component for given time range Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. start - the start time to query from for annotations, cannot be older than 90 days from current date. end - 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 AnnotationsListResult, 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 AnnotationsListResult

AnnotationsListResult annotations list result.

type AnnotationsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; An array of annotations.
    Value *[]Annotation `json:"value,omitempty"`
}

func (AnnotationsListResult) MarshalJSON

func (alr AnnotationsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AnnotationsListResult.

type ApplicationInsightsComponent

ApplicationInsightsComponent an Application Insights component definition.

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"`
    // Etag - Resource etag
    Etag *string `json:"etag,omitempty"`
    // ApplicationInsightsComponentProperties - Properties that define an Application Insights component resource.
    *ApplicationInsightsComponentProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

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

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

type ApplicationInsightsComponentAPIKey struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created.
    ID *string `json:"id,omitempty"`
    // APIKey - READ-ONLY; 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"`
}

func (ApplicationInsightsComponentAPIKey) MarshalJSON

func (aicak ApplicationInsightsComponentAPIKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentAPIKey.

type ApplicationInsightsComponentAPIKeyListResult

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

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

type ApplicationInsightsComponentAnalyticsItem

ApplicationInsightsComponentAnalyticsItem properties that define an Analytics item that is associated to an Application Insights component.

type ApplicationInsightsComponentAnalyticsItem struct {
    autorest.Response `json:"-"`
    // ID - Internally assigned unique id of the item definition.
    ID *string `json:"Id,omitempty"`
    // Name - The user-defined name of the item.
    Name *string `json:"Name,omitempty"`
    // Content - The content of this item
    Content *string `json:"Content,omitempty"`
    // Version - READ-ONLY; This instance's version of the data model. This can change as new features are added.
    Version *string `json:"Version,omitempty"`
    // Scope - Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'ItemScopeShared', 'ItemScopeUser'
    Scope ItemScope `json:"Scope,omitempty"`
    // Type - Enum indicating the type of the Analytics item. Possible values include: 'ItemTypeNone', 'ItemTypeQuery', 'ItemTypeRecent', 'ItemTypeFunction'
    Type ItemType `json:"Type,omitempty"`
    // TimeCreated - READ-ONLY; Date and time in UTC when this item was created.
    TimeCreated *string `json:"TimeCreated,omitempty"`
    // TimeModified - READ-ONLY; Date and time in UTC of the last modification that was made to this item.
    TimeModified *string                                              `json:"TimeModified,omitempty"`
    Properties   *ApplicationInsightsComponentAnalyticsItemProperties `json:"Properties,omitempty"`
}

func (ApplicationInsightsComponentAnalyticsItem) MarshalJSON

func (aicai ApplicationInsightsComponentAnalyticsItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentAnalyticsItem.

type ApplicationInsightsComponentAnalyticsItemProperties

ApplicationInsightsComponentAnalyticsItemProperties a set of properties that can be defined in the context of a specific item type. Each type may have its own properties.

type ApplicationInsightsComponentAnalyticsItemProperties struct {
    // FunctionAlias - A function alias, used when the type of the item is Function
    FunctionAlias *string `json:"functionAlias,omitempty"`
}

type ApplicationInsightsComponentAvailableFeatures

ApplicationInsightsComponentAvailableFeatures an Application Insights component available features.

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

func (ApplicationInsightsComponentAvailableFeatures) MarshalJSON

func (aicaf ApplicationInsightsComponentAvailableFeatures) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentAvailableFeatures.

type ApplicationInsightsComponentBillingFeatures

ApplicationInsightsComponentBillingFeatures an Application Insights component billing features

type ApplicationInsightsComponentBillingFeatures struct {
    autorest.Response `json:"-"`
    // DataVolumeCap - An Application Insights component daily data volume 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"`
}

type ApplicationInsightsComponentDataVolumeCap

ApplicationInsightsComponentDataVolumeCap an Application Insights component daily data volume cap

type ApplicationInsightsComponentDataVolumeCap struct {
    // Cap - Daily data volume cap in GB.
    Cap *float64 `json:"Cap,omitempty"`
    // ResetTime - READ-ONLY; 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 - READ-ONLY; Maximum daily data volume cap that the user can set for this component.
    MaxHistoryCap *float64 `json:"MaxHistoryCap,omitempty"`
}

func (ApplicationInsightsComponentDataVolumeCap) MarshalJSON

func (aicdvc ApplicationInsightsComponentDataVolumeCap) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentDataVolumeCap.

type ApplicationInsightsComponentExportConfiguration

ApplicationInsightsComponentExportConfiguration properties that define a Continuous Export configuration.

type ApplicationInsightsComponentExportConfiguration struct {
    autorest.Response `json:"-"`
    // ExportID - READ-ONLY; The unique ID of the export configuration inside an Application Insights component. It is auto generated when the Continuous Export configuration is created.
    ExportID *string `json:"ExportId,omitempty"`
    // InstrumentationKey - READ-ONLY; 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 - READ-ONLY; The name of the Application Insights component.
    ApplicationName *string `json:"ApplicationName,omitempty"`
    // SubscriptionID - READ-ONLY; The subscription of the Application Insights component.
    SubscriptionID *string `json:"SubscriptionId,omitempty"`
    // ResourceGroup - READ-ONLY; The resource group of the Application Insights component.
    ResourceGroup *string `json:"ResourceGroup,omitempty"`
    // DestinationStorageSubscriptionID - READ-ONLY; The destination storage account subscription ID.
    DestinationStorageSubscriptionID *string `json:"DestinationStorageSubscriptionId,omitempty"`
    // DestinationStorageLocationID - READ-ONLY; The destination account location ID.
    DestinationStorageLocationID *string `json:"DestinationStorageLocationId,omitempty"`
    // DestinationAccountID - READ-ONLY; The name of destination account.
    DestinationAccountID *string `json:"DestinationAccountId,omitempty"`
    // DestinationType - READ-ONLY; The destination type.
    DestinationType *string `json:"DestinationType,omitempty"`
    // IsUserEnabled - READ-ONLY; This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
    IsUserEnabled *string `json:"IsUserEnabled,omitempty"`
    // LastUserUpdate - READ-ONLY; Last time the Continuous Export configuration was updated.
    LastUserUpdate *string `json:"LastUserUpdate,omitempty"`
    // NotificationQueueEnabled - Deprecated
    NotificationQueueEnabled *string `json:"NotificationQueueEnabled,omitempty"`
    // ExportStatus - READ-ONLY; This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.
    ExportStatus *string `json:"ExportStatus,omitempty"`
    // LastSuccessTime - READ-ONLY; The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
    LastSuccessTime *string `json:"LastSuccessTime,omitempty"`
    // LastGapTime - READ-ONLY; The last time the Continuous Export configuration started failing.
    LastGapTime *string `json:"LastGapTime,omitempty"`
    // PermanentErrorReason - READ-ONLY; This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
    PermanentErrorReason *string `json:"PermanentErrorReason,omitempty"`
    // StorageName - READ-ONLY; The name of the destination storage account.
    StorageName *string `json:"StorageName,omitempty"`
    // ContainerName - READ-ONLY; The name of the destination storage container.
    ContainerName *string `json:"ContainerName,omitempty"`
}

func (ApplicationInsightsComponentExportConfiguration) MarshalJSON

func (aicec ApplicationInsightsComponentExportConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentExportConfiguration.

type ApplicationInsightsComponentExportRequest

ApplicationInsightsComponentExportRequest an Application Insights component Continuous Export configuration request definition.

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

type ApplicationInsightsComponentFavorite

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

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 - READ-ONLY; 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: 'FavoriteTypeShared', 'FavoriteTypeUser'
    FavoriteType FavoriteType `json:"FavoriteType,omitempty"`
    // SourceType - The source of the favorite definition.
    SourceType *string `json:"SourceType,omitempty"`
    // TimeModified - READ-ONLY; 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 - READ-ONLY; Unique user id of the specific user that owns this favorite.
    UserID *string `json:"UserId,omitempty"`
}

func (ApplicationInsightsComponentFavorite) MarshalJSON

func (aicf ApplicationInsightsComponentFavorite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentFavorite.

type ApplicationInsightsComponentFeature

ApplicationInsightsComponentFeature an Application Insights component daily data volume cap status

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

func (ApplicationInsightsComponentFeature) MarshalJSON

func (aicf ApplicationInsightsComponentFeature) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentFeature.

type ApplicationInsightsComponentFeatureCapabilities

ApplicationInsightsComponentFeatureCapabilities an Application Insights component feature capabilities

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

func (ApplicationInsightsComponentFeatureCapabilities) MarshalJSON

func (aicfc ApplicationInsightsComponentFeatureCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentFeatureCapabilities.

type ApplicationInsightsComponentFeatureCapability

ApplicationInsightsComponentFeatureCapability an Application Insights component feature capability

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

func (ApplicationInsightsComponentFeatureCapability) MarshalJSON

func (aicfc ApplicationInsightsComponentFeatureCapability) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentFeatureCapability.

type ApplicationInsightsComponentListResult

ApplicationInsightsComponentListResult describes the list of Application Insights Resources.

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 definitions if too many components where returned in the result set.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ApplicationInsightsComponentListResult) IsEmpty

func (aiclr ApplicationInsightsComponentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationInsightsComponentListResultIterator

ApplicationInsightsComponentListResultIterator provides access to a complete listing of ApplicationInsightsComponent values.

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

func NewApplicationInsightsComponentListResultIterator

func NewApplicationInsightsComponentListResultIterator(page ApplicationInsightsComponentListResultPage) ApplicationInsightsComponentListResultIterator

Creates a new instance of the ApplicationInsightsComponentListResultIterator type.

func (*ApplicationInsightsComponentListResultIterator) Next

func (iter *ApplicationInsightsComponentListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*ApplicationInsightsComponentListResultIterator) NextWithContext

func (iter *ApplicationInsightsComponentListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

func (iter ApplicationInsightsComponentListResultIterator) NotDone() bool

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

func (ApplicationInsightsComponentListResultIterator) Response

func (iter ApplicationInsightsComponentListResultIterator) Response() ApplicationInsightsComponentListResult

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

func (ApplicationInsightsComponentListResultIterator) Value

func (iter ApplicationInsightsComponentListResultIterator) Value() ApplicationInsightsComponent

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

type ApplicationInsightsComponentListResultPage

ApplicationInsightsComponentListResultPage contains a page of ApplicationInsightsComponent values.

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

func NewApplicationInsightsComponentListResultPage

func NewApplicationInsightsComponentListResultPage(cur ApplicationInsightsComponentListResult, getNextPage func(context.Context, ApplicationInsightsComponentListResult) (ApplicationInsightsComponentListResult, error)) ApplicationInsightsComponentListResultPage

Creates a new instance of the ApplicationInsightsComponentListResultPage type.

func (*ApplicationInsightsComponentListResultPage) Next

func (page *ApplicationInsightsComponentListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*ApplicationInsightsComponentListResultPage) NextWithContext

func (page *ApplicationInsightsComponentListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

func (page ApplicationInsightsComponentListResultPage) NotDone() bool

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

func (ApplicationInsightsComponentListResultPage) Response

func (page ApplicationInsightsComponentListResultPage) Response() ApplicationInsightsComponentListResult

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

func (ApplicationInsightsComponentListResultPage) Values

func (page ApplicationInsightsComponentListResultPage) Values() []ApplicationInsightsComponent

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

type ApplicationInsightsComponentProactiveDetectionConfiguration

ApplicationInsightsComponentProactiveDetectionConfiguration properties that define a ProactiveDetection configuration.

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

type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

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

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

type ApplicationInsightsComponentProperties

ApplicationInsightsComponentProperties properties that define an Application Insights component resource.

type ApplicationInsightsComponentProperties struct {
    // ApplicationID - READ-ONLY; The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
    ApplicationID *string `json:"ApplicationId,omitempty"`
    // AppID - READ-ONLY; Application Insights Unique ID for your Application.
    AppID *string `json:"AppId,omitempty"`
    // Name - READ-ONLY; Application name.
    Name *string `json:"Name,omitempty"`
    // ApplicationType - Type of application being monitored. Possible values include: 'ApplicationTypeWeb', 'ApplicationTypeOther'
    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: 'FlowTypeBluefield'
    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: 'RequestSourceRest'
    RequestSource RequestSource `json:"Request_Source,omitempty"`
    // InstrumentationKey - READ-ONLY; 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 - READ-ONLY; Creation Date for the Application Insights component, in ISO 8601 format.
    CreationDate *date.Time `json:"CreationDate,omitempty"`
    // TenantID - READ-ONLY; 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 - READ-ONLY; Token used to authenticate communications with between Application Insights and HockeyApp.
    HockeyAppToken *string `json:"HockeyAppToken,omitempty"`
    // ProvisioningState - READ-ONLY; 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"`
    // ConnectionString - READ-ONLY; Application Insights component connection string.
    ConnectionString *string `json:"ConnectionString,omitempty"`
    // RetentionInDays - Retention period in days.
    RetentionInDays *int32 `json:"RetentionInDays,omitempty"`
    // DisableIPMasking - Disable IP masking.
    DisableIPMasking *bool `json:"DisableIpMasking,omitempty"`
    // ImmediatePurgeDataOn30Days - Purge data immediately after 30 days.
    ImmediatePurgeDataOn30Days *bool `json:"ImmediatePurgeDataOn30Days,omitempty"`
    // WorkspaceResourceID - Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.
    WorkspaceResourceID *string `json:"WorkspaceResourceId,omitempty"`
    // LaMigrationDate - READ-ONLY; The date which the component got migrated to LA, in ISO 8601 format.
    LaMigrationDate *date.Time `json:"LaMigrationDate,omitempty"`
    // PrivateLinkScopedResources - READ-ONLY; List of linked private link scope resources.
    PrivateLinkScopedResources *[]PrivateLinkScopedResource `json:"PrivateLinkScopedResources,omitempty"`
    // PublicNetworkAccessForIngestion - The network access type for accessing Application Insights ingestion. Possible values include: 'PublicNetworkAccessTypeEnabled', 'PublicNetworkAccessTypeDisabled'
    PublicNetworkAccessForIngestion PublicNetworkAccessType `json:"publicNetworkAccessForIngestion,omitempty"`
    // PublicNetworkAccessForQuery - The network access type for accessing Application Insights query. Possible values include: 'PublicNetworkAccessTypeEnabled', 'PublicNetworkAccessTypeDisabled'
    PublicNetworkAccessForQuery PublicNetworkAccessType `json:"publicNetworkAccessForQuery,omitempty"`
    // IngestionMode - Indicates the flow of the ingestion. Possible values include: 'IngestionModeApplicationInsights', 'IngestionModeApplicationInsightsWithDiagnosticSettings', 'IngestionModeLogAnalytics'
    IngestionMode IngestionMode `json:"IngestionMode,omitempty"`
    // DisableLocalAuth - Disable Non-AAD based Auth.
    DisableLocalAuth *bool `json:"DisableLocalAuth,omitempty"`
    // ForceCustomerStorageForProfiler - Force users to create their own storage account for profiler and debugger.
    ForceCustomerStorageForProfiler *bool `json:"ForceCustomerStorageForProfiler,omitempty"`
}

func (ApplicationInsightsComponentProperties) MarshalJSON

func (aicp ApplicationInsightsComponentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentProperties.

type ApplicationInsightsComponentQuotaStatus

ApplicationInsightsComponentQuotaStatus an Application Insights component daily data volume cap status

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

func (ApplicationInsightsComponentQuotaStatus) MarshalJSON

func (aicqs ApplicationInsightsComponentQuotaStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentQuotaStatus.

type ApplicationInsightsComponentWebTestLocation

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

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

func (ApplicationInsightsComponentWebTestLocation) MarshalJSON

func (aicwtl ApplicationInsightsComponentWebTestLocation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsComponentWebTestLocation.

type ApplicationInsightsWebTestLocationsListResult

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

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

type ApplicationType

ApplicationType enumerates the values for application type.

type ApplicationType string
const (
    // ApplicationTypeOther ...
    ApplicationTypeOther ApplicationType = "other"
    // ApplicationTypeWeb ...
    ApplicationTypeWeb ApplicationType = "web"
)

func PossibleApplicationTypeValues

func PossibleApplicationTypeValues() []ApplicationType

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

type AzureEntityResource

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

type AzureEntityResource struct {
    // Etag - READ-ONLY; Resource Etag.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

BaseClient is the base client for Insights.

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

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CategoryType

CategoryType enumerates the values for category type.

type CategoryType string
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

ComponentAvailableFeaturesClient is the composite Swagger for Application Insights Management Client

type ComponentAvailableFeaturesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ComponentAvailableFeaturesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAvailableFeatures, err error)

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

ComponentCurrentBillingFeaturesClient is the composite Swagger for Application Insights Management Client

type ComponentCurrentBillingFeaturesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ComponentCurrentBillingFeaturesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentBillingFeatures, err error)

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

func (ComponentCurrentBillingFeaturesClient) GetSender

func (client ComponentCurrentBillingFeaturesClient) 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 (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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. billingFeaturesProperties - 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

func (client ComponentCurrentBillingFeaturesClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentBillingFeatures, err error)

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

ComponentFeatureCapabilitiesClient is the composite Swagger for Application Insights Management Client

type ComponentFeatureCapabilitiesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ComponentFeatureCapabilitiesClient) Get

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

Get returns feature capabilities of the application insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ComponentFeatureCapabilitiesClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentFeatureCapabilities, err error)

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

func (ComponentFeatureCapabilitiesClient) GetSender

func (client ComponentFeatureCapabilitiesClient) 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 ComponentLinkedStorageAccounts

ComponentLinkedStorageAccounts an Application Insights component linked storage accounts

type ComponentLinkedStorageAccounts struct {
    autorest.Response `json:"-"`
    // LinkedStorageAccountsProperties - The properties of the linked storage accounts.
    *LinkedStorageAccountsProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (ComponentLinkedStorageAccounts) MarshalJSON

func (clsa ComponentLinkedStorageAccounts) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComponentLinkedStorageAccounts.

func (*ComponentLinkedStorageAccounts) UnmarshalJSON

func (clsa *ComponentLinkedStorageAccounts) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComponentLinkedStorageAccounts struct.

type ComponentLinkedStorageAccountsClient

ComponentLinkedStorageAccountsClient is the composite Swagger for Application Insights Management Client

type ComponentLinkedStorageAccountsClient struct {
    BaseClient
}

func NewComponentLinkedStorageAccountsClient

func NewComponentLinkedStorageAccountsClient(subscriptionID string) ComponentLinkedStorageAccountsClient

NewComponentLinkedStorageAccountsClient creates an instance of the ComponentLinkedStorageAccountsClient client.

func NewComponentLinkedStorageAccountsClientWithBaseURI

func NewComponentLinkedStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) ComponentLinkedStorageAccountsClient

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

func (ComponentLinkedStorageAccountsClient) CreateAndUpdate

func (client ComponentLinkedStorageAccountsClient) CreateAndUpdate(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccounts) (result ComponentLinkedStorageAccounts, err error)

CreateAndUpdate replace current linked storage account for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. linkedStorageAccountsProperties - properties that need to be specified to update linked storage accounts for an Application Insights component.

func (ComponentLinkedStorageAccountsClient) CreateAndUpdatePreparer

func (client ComponentLinkedStorageAccountsClient) CreateAndUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccounts) (*http.Request, error)

CreateAndUpdatePreparer prepares the CreateAndUpdate request.

func (ComponentLinkedStorageAccountsClient) CreateAndUpdateResponder

func (client ComponentLinkedStorageAccountsClient) CreateAndUpdateResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)

CreateAndUpdateResponder handles the response to the CreateAndUpdate request. The method always closes the http.Response Body.

func (ComponentLinkedStorageAccountsClient) CreateAndUpdateSender

func (client ComponentLinkedStorageAccountsClient) CreateAndUpdateSender(req *http.Request) (*http.Response, error)

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

func (ComponentLinkedStorageAccountsClient) Delete

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

Delete delete linked storage accounts for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (ComponentLinkedStorageAccountsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ComponentLinkedStorageAccountsClient) DeleteResponder

func (client ComponentLinkedStorageAccountsClient) 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 (ComponentLinkedStorageAccountsClient) DeleteSender

func (client ComponentLinkedStorageAccountsClient) 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 (ComponentLinkedStorageAccountsClient) Get

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

Get returns the current linked storage settings for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (ComponentLinkedStorageAccountsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ComponentLinkedStorageAccountsClient) GetResponder

func (client ComponentLinkedStorageAccountsClient) GetResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)

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

func (ComponentLinkedStorageAccountsClient) GetSender

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

func (client ComponentLinkedStorageAccountsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccountsPatch) (result ComponentLinkedStorageAccounts, err error)

Update update linked storage accounts for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. linkedStorageAccountsProperties - properties that need to be specified to update a linked storage accounts for an Application Insights component.

func (ComponentLinkedStorageAccountsClient) UpdatePreparer

func (client ComponentLinkedStorageAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, linkedStorageAccountsProperties ComponentLinkedStorageAccountsPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ComponentLinkedStorageAccountsClient) UpdateResponder

func (client ComponentLinkedStorageAccountsClient) UpdateResponder(resp *http.Response) (result ComponentLinkedStorageAccounts, err error)

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

func (ComponentLinkedStorageAccountsClient) UpdateSender

func (client ComponentLinkedStorageAccountsClient) 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 ComponentLinkedStorageAccountsPatch

ComponentLinkedStorageAccountsPatch an Application Insights component linked storage accounts patch

type ComponentLinkedStorageAccountsPatch struct {
    // LinkedStorageAccountsProperties - The properties of the linked storage accounts.
    *LinkedStorageAccountsProperties `json:"properties,omitempty"`
}

func (ComponentLinkedStorageAccountsPatch) MarshalJSON

func (clsap ComponentLinkedStorageAccountsPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComponentLinkedStorageAccountsPatch.

func (*ComponentLinkedStorageAccountsPatch) UnmarshalJSON

func (clsap *ComponentLinkedStorageAccountsPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComponentLinkedStorageAccountsPatch struct.

type ComponentPurgeBody

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

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

type ComponentPurgeBodyFilters

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

type ComponentPurgeBodyFilters struct {
    // Column - The column of the table over which the given query should run
    Column *string `json:"column,omitempty"`
    // Operator - A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.
    Operator *string `json:"operator,omitempty"`
    // Value - the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values.
    Value interface{} `json:"value,omitempty"`
    // Key - When filtering over custom dimensions, this key will be used as the name of the custom dimension.
    Key *string `json:"key,omitempty"`
}

type ComponentPurgeResponse

ComponentPurgeResponse response containing operationId for a specific purge action.

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

type ComponentPurgeStatusResponse

ComponentPurgeStatusResponse response containing status for a specific purge operation.

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

type ComponentQuotaStatusClient

ComponentQuotaStatusClient is the composite Swagger for Application Insights Management Client

type ComponentQuotaStatusClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ComponentQuotaStatusClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentQuotaStatus, err error)

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

ComponentsClient is the composite Swagger for Application Insights Management Client

type ComponentsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. insightProperties - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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 get status for an ongoing purge operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. purgeID - 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

func (client ComponentsClient) List(ctx context.Context) (result ApplicationInsightsComponentListResultPage, err error)

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

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

func (client ComponentsClient) ListComplete(ctx context.Context) (result ApplicationInsightsComponentListResultIterator, err error)

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.

In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. body - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. componentTags - 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 ComponentsResource

ComponentsResource an azure resource object

type ComponentsResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

func (ComponentsResource) MarshalJSON

func (cr ComponentsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComponentsResource.

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type ErrorDefinition

ErrorDefinition error definition.

type ErrorDefinition struct {
    // Code - READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Description of the error.
    Message *string `json:"message,omitempty"`
    // Innererror - READ-ONLY; Internal error details.
    Innererror interface{} `json:"innererror,omitempty"`
}

func (ErrorDefinition) MarshalJSON

func (ed ErrorDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDefinition.

type ErrorResponse

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

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

type ErrorResponseComponents

ErrorResponseComponents ...

type ErrorResponseComponents struct {
    // Error - Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.
    Error *ErrorResponseComponentsError `json:"error,omitempty"`
}

type ErrorResponseComponentsError

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

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

func (ErrorResponseComponentsError) MarshalJSON

func (erc ErrorResponseComponentsError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponseComponentsError.

type ErrorResponseLinkedStorage

ErrorResponseLinkedStorage ...

type ErrorResponseLinkedStorage struct {
    // Error - Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.
    Error *ErrorResponseLinkedStorageError `json:"error,omitempty"`
}

type ErrorResponseLinkedStorageError

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

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

func (ErrorResponseLinkedStorageError) MarshalJSON

func (erls ErrorResponseLinkedStorageError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponseLinkedStorageError.

type ExportConfigurationsClient

ExportConfigurationsClient is the composite Swagger for Application Insights Management Client

type ExportConfigurationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. exportProperties - 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

func (client ExportConfigurationsClient) CreateResponder(resp *http.Response) (result ListApplicationInsightsComponentExportConfiguration, err error)

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. exportID - 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

func (client ExportConfigurationsClient) DeleteResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. exportID - 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

func (client ExportConfigurationsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ExportConfigurationsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentExportConfiguration, err error)

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. exportID - the Continuous Export configuration ID. This is unique within a Application Insights component. exportProperties - 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

func (client ExportConfigurationsClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentExportConfiguration, err error)

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 FavoriteSourceType

FavoriteSourceType enumerates the values for favorite source type.

type FavoriteSourceType string
const (
    // FavoriteSourceTypeEvents ...
    FavoriteSourceTypeEvents FavoriteSourceType = "events"
    // FavoriteSourceTypeFunnel ...
    FavoriteSourceTypeFunnel FavoriteSourceType = "funnel"
    // FavoriteSourceTypeImpact ...
    FavoriteSourceTypeImpact FavoriteSourceType = "impact"
    // FavoriteSourceTypeNotebook ...
    FavoriteSourceTypeNotebook FavoriteSourceType = "notebook"
    // FavoriteSourceTypeRetention ...
    FavoriteSourceTypeRetention FavoriteSourceType = "retention"
    // FavoriteSourceTypeSegmentation ...
    FavoriteSourceTypeSegmentation FavoriteSourceType = "segmentation"
    // FavoriteSourceTypeSessions ...
    FavoriteSourceTypeSessions FavoriteSourceType = "sessions"
    // FavoriteSourceTypeUserflows ...
    FavoriteSourceTypeUserflows FavoriteSourceType = "userflows"
)

func PossibleFavoriteSourceTypeValues

func PossibleFavoriteSourceTypeValues() []FavoriteSourceType

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

type FavoriteType

FavoriteType enumerates the values for favorite type.

type FavoriteType string
const (
    // FavoriteTypeShared ...
    FavoriteTypeShared FavoriteType = "shared"
    // FavoriteTypeUser ...
    FavoriteTypeUser FavoriteType = "user"
)

func PossibleFavoriteTypeValues

func PossibleFavoriteTypeValues() []FavoriteType

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

type FavoritesClient

FavoritesClient is the composite Swagger for Application Insights Management Client

type FavoritesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FavoritesClient) Add

func (client FavoritesClient) 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. favoriteID - the Id of a specific favorite defined in the Application Insights component favoriteProperties - properties that need to be specified to create a new favorite and add it to an Application Insights component.

func (FavoritesClient) AddPreparer

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

AddPreparer prepares the Add request.

func (FavoritesClient) AddResponder

func (client FavoritesClient) 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 (FavoritesClient) AddSender

func (client FavoritesClient) 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 (FavoritesClient) Delete

func (client FavoritesClient) 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. favoriteID - the Id of a specific favorite defined in the Application Insights component

func (FavoritesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (FavoritesClient) DeleteResponder

func (client FavoritesClient) 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 (FavoritesClient) DeleteSender

func (client FavoritesClient) 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 (FavoritesClient) Get

func (client FavoritesClient) 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. favoriteID - the Id of a specific favorite defined in the Application Insights component

func (FavoritesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (FavoritesClient) GetResponder

func (client FavoritesClient) 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 (FavoritesClient) GetSender

func (client FavoritesClient) 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 (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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. favoriteType - the type of favorite. Value can be either shared or user. sourceType - source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum). canFetchContent - flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites. tags - 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.

func (FavoritesClient) Update

func (client FavoritesClient) 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. favoriteID - the Id of a specific favorite defined in the Application Insights component favoriteProperties - properties that need to be specified to update the existing favorite.

func (FavoritesClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (FavoritesClient) UpdateResponder

func (client FavoritesClient) 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 (FavoritesClient) UpdateSender

func (client FavoritesClient) 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 FlowType

FlowType enumerates the values for flow type.

type FlowType string
const (
    // FlowTypeBluefield ...
    FlowTypeBluefield FlowType = "Bluefield"
)

func PossibleFlowTypeValues

func PossibleFlowTypeValues() []FlowType

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

type IngestionMode

IngestionMode enumerates the values for ingestion mode.

type IngestionMode string
const (
    // IngestionModeApplicationInsights ...
    IngestionModeApplicationInsights IngestionMode = "ApplicationInsights"
    // IngestionModeApplicationInsightsWithDiagnosticSettings ...
    IngestionModeApplicationInsightsWithDiagnosticSettings IngestionMode = "ApplicationInsightsWithDiagnosticSettings"
    // IngestionModeLogAnalytics ...
    IngestionModeLogAnalytics IngestionMode = "LogAnalytics"
)

func PossibleIngestionModeValues

func PossibleIngestionModeValues() []IngestionMode

PossibleIngestionModeValues returns an array of possible values for the IngestionMode const type.

type InnerError

InnerError inner error

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

type InnerErrorTrace

InnerErrorTrace error details

type InnerErrorTrace struct {
    // Trace - READ-ONLY; detailed error trace
    Trace *[]string `json:"trace,omitempty"`
}

func (InnerErrorTrace) MarshalJSON

func (iet InnerErrorTrace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InnerErrorTrace.

type ItemScope

ItemScope enumerates the values for item scope.

type ItemScope string
const (
    // ItemScopeShared ...
    ItemScopeShared ItemScope = "shared"
    // ItemScopeUser ...
    ItemScopeUser ItemScope = "user"
)

func PossibleItemScopeValues

func PossibleItemScopeValues() []ItemScope

PossibleItemScopeValues returns an array of possible values for the ItemScope const type.

type ItemScopePath

ItemScopePath enumerates the values for item scope path.

type ItemScopePath string
const (
    // ItemScopePathAnalyticsItems ...
    ItemScopePathAnalyticsItems ItemScopePath = "analyticsItems"
    // ItemScopePathMyanalyticsItems ...
    ItemScopePathMyanalyticsItems ItemScopePath = "myanalyticsItems"
)

func PossibleItemScopePathValues

func PossibleItemScopePathValues() []ItemScopePath

PossibleItemScopePathValues returns an array of possible values for the ItemScopePath const type.

type ItemType

ItemType enumerates the values for item type.

type ItemType string
const (
    // ItemTypeFunction ...
    ItemTypeFunction ItemType = "function"
    // ItemTypeNone ...
    ItemTypeNone ItemType = "none"
    // ItemTypeQuery ...
    ItemTypeQuery ItemType = "query"
    // ItemTypeRecent ...
    ItemTypeRecent ItemType = "recent"
)

func PossibleItemTypeValues

func PossibleItemTypeValues() []ItemType

PossibleItemTypeValues returns an array of possible values for the ItemType const type.

type ItemTypeParameter

ItemTypeParameter enumerates the values for item type parameter.

type ItemTypeParameter string
const (
    // ItemTypeParameterFolder ...
    ItemTypeParameterFolder ItemTypeParameter = "folder"
    // ItemTypeParameterFunction ...
    ItemTypeParameterFunction ItemTypeParameter = "function"
    // ItemTypeParameterNone ...
    ItemTypeParameterNone ItemTypeParameter = "none"
    // ItemTypeParameterQuery ...
    ItemTypeParameterQuery ItemTypeParameter = "query"
    // ItemTypeParameterRecent ...
    ItemTypeParameterRecent ItemTypeParameter = "recent"
)

func PossibleItemTypeParameterValues

func PossibleItemTypeParameterValues() []ItemTypeParameter

PossibleItemTypeParameterValues returns an array of possible values for the ItemTypeParameter const type.

type Kind

Kind enumerates the values for kind.

type Kind string
const (
    // KindShared ...
    KindShared Kind = "shared"
    // KindUser ...
    KindUser Kind = "user"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type LinkedStorageAccountsProperties

LinkedStorageAccountsProperties an Application Insights component linked storage account

type LinkedStorageAccountsProperties struct {
    // LinkedStorageAccount - Linked storage account resource ID
    LinkedStorageAccount *string `json:"linkedStorageAccount,omitempty"`
}

type ListAnnotation

ListAnnotation ...

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

type ListApplicationInsightsComponentAnalyticsItem

ListApplicationInsightsComponentAnalyticsItem ...

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

type ListApplicationInsightsComponentExportConfiguration

ListApplicationInsightsComponentExportConfiguration ...

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

type ListApplicationInsightsComponentFavorite

ListApplicationInsightsComponentFavorite ...

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

type ListApplicationInsightsComponentProactiveDetectionConfiguration

ListApplicationInsightsComponentProactiveDetectionConfiguration ...

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

type LiveTokenClient

LiveTokenClient is the composite Swagger for Application Insights Management Client

type LiveTokenClient struct {
    BaseClient
}

func NewLiveTokenClient

func NewLiveTokenClient(subscriptionID string) LiveTokenClient

NewLiveTokenClient creates an instance of the LiveTokenClient client.

func NewLiveTokenClientWithBaseURI

func NewLiveTokenClientWithBaseURI(baseURI string, subscriptionID string) LiveTokenClient

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

func (LiveTokenClient) Get

func (client LiveTokenClient) Get(ctx context.Context, resourceURI string) (result LiveTokenResponse, err error)

Get **Gets an access token for live metrics stream data.** Parameters: resourceURI - the identifier of the resource.

func (LiveTokenClient) GetPreparer

func (client LiveTokenClient) GetPreparer(ctx context.Context, resourceURI string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LiveTokenClient) GetResponder

func (client LiveTokenClient) GetResponder(resp *http.Response) (result LiveTokenResponse, err error)

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

func (LiveTokenClient) GetSender

func (client LiveTokenClient) 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 LiveTokenResponse

LiveTokenResponse the response to a live token query.

type LiveTokenResponse struct {
    autorest.Response `json:"-"`
    // LiveToken - READ-ONLY; JWT token for accessing live metrics stream data.
    LiveToken *string `json:"liveToken,omitempty"`
}

func (LiveTokenResponse) MarshalJSON

func (ltr LiveTokenResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LiveTokenResponse.

type ManagedServiceIdentity

ManagedServiceIdentity managed service identity (system assigned and/or user assigned identities)

type ManagedServiceIdentity struct {
    // PrincipalID - READ-ONLY; The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantID *uuid.UUID `json:"tenantId,omitempty"`
    // Type - Possible values include: 'ManagedServiceIdentityTypeNone', 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned'
    Type                   ManagedServiceIdentityType       `json:"type,omitempty"`
    UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"`
}

func (ManagedServiceIdentity) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedServiceIdentity.

type ManagedServiceIdentityType

ManagedServiceIdentityType enumerates the values for managed service identity type.

type ManagedServiceIdentityType string
const (
    // ManagedServiceIdentityTypeNone ...
    ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None"
    // ManagedServiceIdentityTypeSystemAssigned ...
    ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
    // ManagedServiceIdentityTypeSystemAssignedUserAssigned ...
    ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned"
    // ManagedServiceIdentityTypeUserAssigned ...
    ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned"
)

func PossibleManagedServiceIdentityTypeValues

func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType

PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.

type MyWorkbook

MyWorkbook an Application Insights private workbook definition.

type MyWorkbook struct {
    autorest.Response `json:"-"`
    // Kind - The kind of workbook. Choices are user and shared. Possible values include: 'KindUser', 'KindShared'
    Kind Kind `json:"kind,omitempty"`
    // MyWorkbookProperties - Metadata describing a workbook for an Azure resource.
    *MyWorkbookProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // Identity - Identity used for BYOS
    Identity *MyWorkbookManagedIdentity `json:"identity,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"`
    // Etag - Resource etag
    Etag map[string]*string `json:"etag"`
}

func (MyWorkbook) MarshalJSON

func (mw MyWorkbook) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MyWorkbook.

func (*MyWorkbook) UnmarshalJSON

func (mw *MyWorkbook) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MyWorkbook struct.

type MyWorkbookError

MyWorkbookError error response.

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

type MyWorkbookManagedIdentity

MyWorkbookManagedIdentity customer Managed Identity

type MyWorkbookManagedIdentity struct {
    UserAssignedIdentities *MyWorkbookUserAssignedIdentities `json:"userAssignedIdentities,omitempty"`
    // Type - The identity type. Possible values include: 'TypeUserAssigned', 'TypeNone'
    Type Type `json:"type,omitempty"`
}

type MyWorkbookProperties

MyWorkbookProperties properties that contain a private workbook.

type MyWorkbookProperties struct {
    // DisplayName - The user-defined name of the private workbook.
    DisplayName *string `json:"displayName,omitempty"`
    // SerializedData - Configuration of this particular private 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 private workbook.
    Version *string `json:"version,omitempty"`
    // TimeModified - READ-ONLY; Date and time in UTC of the last modification that was made to this private 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 private workbook definition
    Tags *[]string `json:"tags,omitempty"`
    // UserID - READ-ONLY; Unique user id of the specific user that owns this private workbook.
    UserID *string `json:"userId,omitempty"`
    // SourceID - Optional resourceId for a source resource.
    SourceID *string `json:"sourceId,omitempty"`
    // StorageURI - BYOS Storage Account URI
    StorageURI *string `json:"storageUri,omitempty"`
}

func (MyWorkbookProperties) MarshalJSON

func (mwp MyWorkbookProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MyWorkbookProperties.

type MyWorkbookResource

MyWorkbookResource an azure resource object

type MyWorkbookResource struct {
    // Identity - Identity used for BYOS
    Identity *MyWorkbookManagedIdentity `json:"identity,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"`
    // Etag - Resource etag
    Etag map[string]*string `json:"etag"`
}

func (MyWorkbookResource) MarshalJSON

func (mwr MyWorkbookResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MyWorkbookResource.

type MyWorkbookUserAssignedIdentities

MyWorkbookUserAssignedIdentities customer Managed Identity

type MyWorkbookUserAssignedIdentities struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
}

func (MyWorkbookUserAssignedIdentities) MarshalJSON

func (mwuai MyWorkbookUserAssignedIdentities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MyWorkbookUserAssignedIdentities.

type MyWorkbooksClient

MyWorkbooksClient is the composite Swagger for Application Insights Management Client

type MyWorkbooksClient struct {
    BaseClient
}

func NewMyWorkbooksClient

func NewMyWorkbooksClient(subscriptionID string) MyWorkbooksClient

NewMyWorkbooksClient creates an instance of the MyWorkbooksClient client.

func NewMyWorkbooksClientWithBaseURI

func NewMyWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) MyWorkbooksClient

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

func (MyWorkbooksClient) CreateOrUpdate

func (client MyWorkbooksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (result MyWorkbook, err error)

CreateOrUpdate create a new private workbook. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workbookProperties - properties that need to be specified to create a new private workbook. sourceID - azure Resource Id that will fetch all linked workbooks.

func (MyWorkbooksClient) CreateOrUpdatePreparer

func (client MyWorkbooksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MyWorkbooksClient) CreateOrUpdateResponder

func (client MyWorkbooksClient) CreateOrUpdateResponder(resp *http.Response) (result MyWorkbook, err error)

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

func (MyWorkbooksClient) CreateOrUpdateSender

func (client MyWorkbooksClient) 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 (MyWorkbooksClient) Delete

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

Delete delete a private workbook. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (MyWorkbooksClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (MyWorkbooksClient) DeleteResponder

func (client MyWorkbooksClient) 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 (MyWorkbooksClient) DeleteSender

func (client MyWorkbooksClient) 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 (MyWorkbooksClient) Get

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

Get get a single private workbook by its resourceName. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (MyWorkbooksClient) GetPreparer

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

GetPreparer prepares the Get request.

func (MyWorkbooksClient) GetResponder

func (client MyWorkbooksClient) GetResponder(resp *http.Response) (result MyWorkbook, err error)

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

func (MyWorkbooksClient) GetSender

func (client MyWorkbooksClient) 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 (MyWorkbooksClient) ListByResourceGroup

func (client MyWorkbooksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result MyWorkbooksListResultPage, err error)

ListByResourceGroup get all private workbooks defined within a specified resource group and category. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. category - category of workbook to return. tags - tags presents on each workbook returned. sourceID - azure Resource Id that will fetch all linked workbooks. canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (MyWorkbooksClient) ListByResourceGroupComplete

func (client MyWorkbooksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result MyWorkbooksListResultIterator, err error)

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

func (MyWorkbooksClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MyWorkbooksClient) ListByResourceGroupResponder

func (client MyWorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result MyWorkbooksListResult, err error)

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

func (MyWorkbooksClient) ListByResourceGroupSender

func (client MyWorkbooksClient) 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 (MyWorkbooksClient) ListBySubscription

func (client MyWorkbooksClient) ListBySubscription(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result MyWorkbooksListResultPage, err error)

ListBySubscription get all private workbooks defined within a specified subscription and category. Parameters: category - category of workbook to return. tags - tags presents on each workbook returned. canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (MyWorkbooksClient) ListBySubscriptionComplete

func (client MyWorkbooksClient) ListBySubscriptionComplete(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result MyWorkbooksListResultIterator, err error)

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

func (MyWorkbooksClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (MyWorkbooksClient) ListBySubscriptionResponder

func (client MyWorkbooksClient) ListBySubscriptionResponder(resp *http.Response) (result MyWorkbooksListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (MyWorkbooksClient) ListBySubscriptionSender

func (client MyWorkbooksClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (MyWorkbooksClient) Update

func (client MyWorkbooksClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (result MyWorkbook, err error)

Update updates a private workbook that has already been added. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workbookProperties - properties that need to be specified to create a new private workbook. sourceID - azure Resource Id that will fetch all linked workbooks.

func (MyWorkbooksClient) UpdatePreparer

func (client MyWorkbooksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties MyWorkbook, sourceID string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MyWorkbooksClient) UpdateResponder

func (client MyWorkbooksClient) UpdateResponder(resp *http.Response) (result MyWorkbook, err error)

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

func (MyWorkbooksClient) UpdateSender

func (client MyWorkbooksClient) 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 MyWorkbooksListResult

MyWorkbooksListResult workbook list result.

type MyWorkbooksListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; An array of private workbooks.
    Value    *[]MyWorkbook `json:"value,omitempty"`
    NextLink *string       `json:"nextLink,omitempty"`
}

func (MyWorkbooksListResult) IsEmpty

func (mwlr MyWorkbooksListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (MyWorkbooksListResult) MarshalJSON

func (mwlr MyWorkbooksListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MyWorkbooksListResult.

type MyWorkbooksListResultIterator

MyWorkbooksListResultIterator provides access to a complete listing of MyWorkbook values.

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

func NewMyWorkbooksListResultIterator

func NewMyWorkbooksListResultIterator(page MyWorkbooksListResultPage) MyWorkbooksListResultIterator

Creates a new instance of the MyWorkbooksListResultIterator type.

func (*MyWorkbooksListResultIterator) Next

func (iter *MyWorkbooksListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*MyWorkbooksListResultIterator) NextWithContext

func (iter *MyWorkbooksListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (MyWorkbooksListResultIterator) NotDone

func (iter MyWorkbooksListResultIterator) NotDone() bool

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

func (MyWorkbooksListResultIterator) Response

func (iter MyWorkbooksListResultIterator) Response() MyWorkbooksListResult

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

func (MyWorkbooksListResultIterator) Value

func (iter MyWorkbooksListResultIterator) Value() MyWorkbook

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

type MyWorkbooksListResultPage

MyWorkbooksListResultPage contains a page of MyWorkbook values.

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

func NewMyWorkbooksListResultPage

func NewMyWorkbooksListResultPage(cur MyWorkbooksListResult, getNextPage func(context.Context, MyWorkbooksListResult) (MyWorkbooksListResult, error)) MyWorkbooksListResultPage

Creates a new instance of the MyWorkbooksListResultPage type.

func (*MyWorkbooksListResultPage) Next

func (page *MyWorkbooksListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*MyWorkbooksListResultPage) NextWithContext

func (page *MyWorkbooksListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (MyWorkbooksListResultPage) NotDone

func (page MyWorkbooksListResultPage) NotDone() bool

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

func (MyWorkbooksListResultPage) Response

func (page MyWorkbooksListResultPage) Response() MyWorkbooksListResult

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

func (MyWorkbooksListResultPage) Values

func (page MyWorkbooksListResultPage) Values() []MyWorkbook

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

type Operation

Operation CDN REST API 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"`
}

type OperationDisplay

OperationDisplay the object that represents the operation.

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

type OperationInfo

OperationInfo information about an operation

type OperationInfo struct {
    // Provider - Name of the provider
    Provider *string `json:"provider,omitempty"`
    // Resource - Name of the resource type
    Resource *string `json:"resource,omitempty"`
    // Operation - Name of the operation
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the operation
    Description *string `json:"description,omitempty"`
}

type OperationListResult

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.

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

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of Operation values.

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

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage

OperationListResultPage contains a page of Operation values.

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

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

func (page OperationListResultPage) Response() OperationListResult

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 OperationLive

OperationLive represents an operation returned by the GetOperations request

type OperationLive struct {
    // Name - Name of the operation
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // Display - Display name of the operation
    Display *OperationInfo `json:"display,omitempty"`
    // Origin - Origin of the operation
    Origin *string `json:"origin,omitempty"`
    // Properties - Properties of the operation
    Properties interface{} `json:"properties,omitempty"`
}

type OperationsClient

OperationsClient is the composite Swagger for Application Insights Management Client

type OperationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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 OperationsListResult

OperationsListResult result of the List Operations operation

type OperationsListResult struct {
    // Value - A collection of operations
    Value *[]OperationLive `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

type PrivateLinkScopedResource

PrivateLinkScopedResource the private link scope resource reference.

type PrivateLinkScopedResource struct {
    // ResourceID - The full resource Id of the private link scope resource.
    ResourceID *string `json:"ResourceId,omitempty"`
    // ScopeID - The private link scope unique Identifier.
    ScopeID *string `json:"ScopeId,omitempty"`
}

type ProactiveDetectionConfigurationsClient

ProactiveDetectionConfigurationsClient is the composite Swagger for Application Insights Management Client

type ProactiveDetectionConfigurationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. configurationID - 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

func (client ProactiveDetectionConfigurationsClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)

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

func (ProactiveDetectionConfigurationsClient) GetSender

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

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

List gets a list of ProactiveDetection configurations of an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client ProactiveDetectionConfigurationsClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentProactiveDetectionConfiguration, err error)

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

func (ProactiveDetectionConfigurationsClient) ListSender

func (client ProactiveDetectionConfigurationsClient) 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 (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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. configurationID - the ProactiveDetection configuration ID. This is unique within a Application Insights component. proactiveDetectionProperties - 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

func (client ProactiveDetectionConfigurationsClient) UpdateResponder(resp *http.Response) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error)

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 ProxyResource

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicNetworkAccessType

PublicNetworkAccessType enumerates the values for public network access type.

type PublicNetworkAccessType string
const (
    // PublicNetworkAccessTypeDisabled Disables public connectivity to Application Insights through public DNS.
    PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
    // PublicNetworkAccessTypeEnabled Enables connectivity to Application Insights through public DNS.
    PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled"
)

func PossiblePublicNetworkAccessTypeValues

func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType

PossiblePublicNetworkAccessTypeValues returns an array of possible values for the PublicNetworkAccessType const type.

type PurgeState

PurgeState enumerates the values for purge state.

type PurgeState string
const (
    // PurgeStateCompleted ...
    PurgeStateCompleted PurgeState = "completed"
    // PurgeStatePending ...
    PurgeStatePending PurgeState = "pending"
)

func PossiblePurgeStateValues

func PossiblePurgeStateValues() []PurgeState

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

type RequestSource

RequestSource enumerates the values for request source.

type RequestSource string
const (
    // RequestSourceRest ...
    RequestSourceRest RequestSource = "rest"
)

func PossibleRequestSourceValues

func PossibleRequestSourceValues() []RequestSource

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

type Resource

Resource common fields that are returned in the response for all Azure Resource Manager resources

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type SharedTypeKind

SharedTypeKind enumerates the values for shared type kind.

type SharedTypeKind string
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 SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type TagsResource

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

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

func (TagsResource) MarshalJSON

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

MarshalJSON is the custom marshaler for TagsResource.

type TrackedResource

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (TrackedResource) MarshalJSON

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

MarshalJSON is the custom marshaler for TrackedResource.

type Type

Type enumerates the values for type.

type Type string
const (
    // TypeNone ...
    TypeNone Type = "None"
    // TypeUserAssigned ...
    TypeUserAssigned Type = "UserAssigned"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

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

type UserAssignedIdentity

UserAssignedIdentity user assigned identity properties

type UserAssignedIdentity struct {
    // PrincipalID - READ-ONLY; The principal ID of the assigned identity.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
    // ClientID - READ-ONLY; The client ID of the assigned identity.
    ClientID *uuid.UUID `json:"clientId,omitempty"`
}

func (UserAssignedIdentity) MarshalJSON

func (uai UserAssignedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserAssignedIdentity.

type WebTest

WebTest an Application Insights web test definition.

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: 'WebTestKindPing', 'WebTestKindMultistep'
    Kind WebTestKind `json:"kind,omitempty"`
    // WebTestProperties - Metadata describing a web test for an Azure resource.
    *WebTestProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

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

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

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

type WebTestKind

WebTestKind enumerates the values for web test kind.

type WebTestKind string
const (
    // WebTestKindMultistep ...
    WebTestKindMultistep WebTestKind = "multistep"
    // WebTestKindPing ...
    WebTestKindPing WebTestKind = "ping"
)

func PossibleWebTestKindValues

func PossibleWebTestKindValues() []WebTestKind

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

type WebTestListResult

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

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

func (WebTestListResult) IsEmpty

func (wtlr WebTestListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WebTestListResultIterator

WebTestListResultIterator provides access to a complete listing of WebTest values.

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

func NewWebTestListResultIterator

func NewWebTestListResultIterator(page WebTestListResultPage) WebTestListResultIterator

Creates a new instance of the WebTestListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*WebTestListResultIterator) NextWithContext

func (iter *WebTestListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

func (iter WebTestListResultIterator) Response() WebTestListResult

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

WebTestListResultPage contains a page of WebTest values.

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

func NewWebTestListResultPage

func NewWebTestListResultPage(cur WebTestListResult, getNextPage func(context.Context, WebTestListResult) (WebTestListResult, error)) WebTestListResultPage

Creates a new instance of the WebTestListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*WebTestListResultPage) NextWithContext

func (page *WebTestListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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

WebTestLocationsClient is the composite Swagger for Application Insights Management Client

type WebTestLocationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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

func (client WebTestLocationsClient) ListResponder(resp *http.Response) (result ApplicationInsightsWebTestLocationsListResult, err error)

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

WebTestProperties metadata describing a web test for an Azure resource.

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: 'WebTestKindPing', 'WebTestKindMultistep'
    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 - READ-ONLY; 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"`
}

func (WebTestProperties) MarshalJSON

func (wtp WebTestProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebTestProperties.

type WebTestPropertiesConfiguration

WebTestPropertiesConfiguration an XML configuration specification for a WebTest.

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

type WebTestsClient

WebTestsClient is the composite Swagger for Application Insights Management Client

type WebTestsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. webTestName - the name of the Application Insights webtest resource. webTestDefinition - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. webTestName - 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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. webTestName - 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 definitions within a subscription.

func (WebTestsClient) ListByComponent

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

ListByComponent get all Application Insights web tests defined for the specified component. Parameters: componentName - the name of the Application Insights component resource. resourceGroupName - the name of the resource group. The name is case insensitive.

func (WebTestsClient) ListByComponentComplete

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

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

func (WebTestsClient) ListByComponentPreparer

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

ListByComponentPreparer prepares the ListByComponent request.

func (WebTestsClient) ListByComponentResponder

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

ListByComponentResponder handles the response to the ListByComponent request. The method always closes the http.Response Body.

func (WebTestsClient) ListByComponentSender

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

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

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. webTestName - the name of the Application Insights webtest resource. webTestTags - 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 WebtestsResource

WebtestsResource an azure resource object

type WebtestsResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

func (WebtestsResource) MarshalJSON

func (wr WebtestsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebtestsResource.

type WorkItemConfiguration

WorkItemConfiguration work item configuration associated with an application insights resource.

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

type WorkItemConfigurationError

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

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

type WorkItemConfigurationsClient

WorkItemConfigurationsClient is the composite Swagger for Application Insights Management Client

type WorkItemConfigurationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workItemConfigurationProperties - 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 autorest.Response, err error)

Delete delete a work item configuration of an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workItemConfigID - 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 autorest.Response, 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 Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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) GetItem

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

GetItem gets specified work item configuration for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workItemConfigID - the unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

func (WorkItemConfigurationsClient) GetItemPreparer

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

GetItemPreparer prepares the GetItem request.

func (WorkItemConfigurationsClient) GetItemResponder

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

GetItemResponder handles the response to the GetItem request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) GetItemSender

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

GetItemSender sends the GetItem 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 WorkItemConfigurationsListResult, err error)

List gets the list work item configurations that exist for the application Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - 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 WorkItemConfigurationsListResult, 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.

func (WorkItemConfigurationsClient) UpdateItem

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

UpdateItem update a work item configuration for an Application Insights component. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workItemConfigID - the unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration workItemConfigurationProperties - properties that need to be specified to update a work item configuration for this Application Insights component.

func (WorkItemConfigurationsClient) UpdateItemPreparer

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

UpdateItemPreparer prepares the UpdateItem request.

func (WorkItemConfigurationsClient) UpdateItemResponder

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

UpdateItemResponder handles the response to the UpdateItem request. The method always closes the http.Response Body.

func (WorkItemConfigurationsClient) UpdateItemSender

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

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

type WorkItemConfigurationsListResult

WorkItemConfigurationsListResult work item configuration list result.

type WorkItemConfigurationsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; An array of work item configurations.
    Value *[]WorkItemConfiguration `json:"value,omitempty"`
}

func (WorkItemConfigurationsListResult) MarshalJSON

func (wiclr WorkItemConfigurationsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkItemConfigurationsListResult.

type WorkItemCreateConfiguration

WorkItemCreateConfiguration work item configuration creation payload

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

func (WorkItemCreateConfiguration) MarshalJSON

func (wicc WorkItemCreateConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkItemCreateConfiguration.

type Workbook

Workbook an Application Insights workbook definition.

type Workbook struct {
    autorest.Response `json:"-"`
    // WorkbookProperties - Metadata describing a workbook for an Azure resource.
    *WorkbookProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // Identity - Identity used for BYOS
    Identity *WorkbookResourceIdentity `json:"identity,omitempty"`
    // Kind - The kind of workbook. Only valid value is shared. Possible values include: 'KindUser', 'KindShared'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Resource etag
    Etag map[string]*string `json:"etag"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

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 WorkbookError

WorkbookError error response.

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

type WorkbookErrorDefinition

WorkbookErrorDefinition error definition.

type WorkbookErrorDefinition struct {
    // Code - READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Description of the error.
    Message *string `json:"message,omitempty"`
    // InnerError - READ-ONLY; Internal error details.
    InnerError interface{} `json:"innerError,omitempty"`
}

func (WorkbookErrorDefinition) MarshalJSON

func (wed WorkbookErrorDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookErrorDefinition.

type WorkbookInnerErrorTrace

WorkbookInnerErrorTrace error details

type WorkbookInnerErrorTrace struct {
    // Trace - READ-ONLY; detailed error trace
    Trace *[]string `json:"trace,omitempty"`
}

func (WorkbookInnerErrorTrace) MarshalJSON

func (wiet WorkbookInnerErrorTrace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookInnerErrorTrace.

type WorkbookProperties

WorkbookProperties properties that contain a workbook.

type WorkbookProperties struct {
    // DisplayName - The user-defined name (display name) of the workbook.
    DisplayName *string `json:"displayName,omitempty"`
    // SerializedData - Configuration of this particular workbook. Configuration data is a string containing valid JSON
    SerializedData *string `json:"serializedData,omitempty"`
    // Version - Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
    Version *string `json:"version,omitempty"`
    // TimeModified - READ-ONLY; Date and time in UTC of the last modification that was made to this workbook definition.
    TimeModified *date.Time `json:"timeModified,omitempty"`
    // Category - Workbook category, as defined by the user at creation time.
    Category *string `json:"category,omitempty"`
    // Tags - Being deprecated, please use the other tags field
    Tags *[]string `json:"tags,omitempty"`
    // UserID - READ-ONLY; Unique user id of the specific user that owns this workbook.
    UserID *string `json:"userId,omitempty"`
    // SourceID - ResourceId for a source resource.
    SourceID *string `json:"sourceId,omitempty"`
    // StorageURI - The resourceId to the storage account when bring your own storage is used
    StorageURI *string `json:"storageUri,omitempty"`
    // Description - The description of the workbook.
    Description *string `json:"description,omitempty"`
    // Revision - READ-ONLY; The unique revision id for this workbook definition
    Revision *string `json:"revision,omitempty"`
}

func (WorkbookProperties) MarshalJSON

func (wp WorkbookProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookProperties.

type WorkbookPropertiesUpdateParameters

WorkbookPropertiesUpdateParameters properties that contain a workbook for PATCH operation.

type WorkbookPropertiesUpdateParameters struct {
    // DisplayName - The user-defined name (display name) of the workbook.
    DisplayName *string `json:"displayName,omitempty"`
    // SerializedData - Configuration of this particular workbook. Configuration data is a string containing valid JSON
    SerializedData *string `json:"serializedData,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"`
    // Description - The description of the workbook.
    Description *string `json:"description,omitempty"`
    // Revision - The unique revision id for this workbook definition
    Revision *string `json:"revision,omitempty"`
}

type WorkbookResource

WorkbookResource an azure resource object

type WorkbookResource struct {
    // Identity - Identity used for BYOS
    Identity *WorkbookResourceIdentity `json:"identity,omitempty"`
    // Kind - The kind of workbook. Only valid value is shared. Possible values include: 'KindUser', 'KindShared'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Resource etag
    Etag map[string]*string `json:"etag"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (WorkbookResource) MarshalJSON

func (wr WorkbookResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookResource.

type WorkbookResourceIdentity

WorkbookResourceIdentity identity used for BYOS

type WorkbookResourceIdentity struct {
    // PrincipalID - READ-ONLY; The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantID *uuid.UUID `json:"tenantId,omitempty"`
    // Type - Possible values include: 'ManagedServiceIdentityTypeNone', 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned'
    Type                   ManagedServiceIdentityType       `json:"type,omitempty"`
    UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"`
}

func (WorkbookResourceIdentity) MarshalJSON

func (wr WorkbookResourceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookResourceIdentity.

type WorkbookTemplate

WorkbookTemplate an Application Insights workbook template definition.

type WorkbookTemplate struct {
    autorest.Response `json:"-"`
    // WorkbookTemplateProperties - Metadata describing a workbook template for an Azure resource.
    *WorkbookTemplateProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

func (WorkbookTemplate) MarshalJSON

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

MarshalJSON is the custom marshaler for WorkbookTemplate.

func (*WorkbookTemplate) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for WorkbookTemplate struct.

type WorkbookTemplateError

WorkbookTemplateError error message that will indicate why the operation failed.

type WorkbookTemplateError struct {
    // Error - Error message object that will indicate why the operation failed.
    Error *WorkbookTemplateErrorBody `json:"error,omitempty"`
}

type WorkbookTemplateErrorBody

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

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

type WorkbookTemplateErrorFieldContract

WorkbookTemplateErrorFieldContract error Field contract.

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

type WorkbookTemplateGallery

WorkbookTemplateGallery gallery information for a workbook template.

type WorkbookTemplateGallery struct {
    // Name - Name of the workbook template in the gallery.
    Name *string `json:"name,omitempty"`
    // Category - Category for the gallery.
    Category *string `json:"category,omitempty"`
    // Type - Type of workbook supported by the workbook template.
    Type *string `json:"type,omitempty"`
    // Order - Order of the template within the gallery.
    Order *int32 `json:"order,omitempty"`
    // ResourceType - Azure resource type supported by the gallery.
    ResourceType *string `json:"resourceType,omitempty"`
}

type WorkbookTemplateLocalizedGallery

WorkbookTemplateLocalizedGallery localized template data and gallery information.

type WorkbookTemplateLocalizedGallery struct {
    // TemplateData - Valid JSON object containing workbook template payload.
    TemplateData interface{} `json:"templateData,omitempty"`
    // Galleries - Workbook galleries supported by the template.
    Galleries *[]WorkbookTemplateGallery `json:"galleries,omitempty"`
}

type WorkbookTemplateProperties

WorkbookTemplateProperties properties that contain a workbook template.

type WorkbookTemplateProperties struct {
    // Priority - Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
    Priority *int32 `json:"priority,omitempty"`
    // Author - Information about the author of the workbook template.
    Author *string `json:"author,omitempty"`
    // TemplateData - Valid JSON object containing workbook template payload.
    TemplateData interface{} `json:"templateData,omitempty"`
    // Galleries - Workbook galleries supported by the template.
    Galleries *[]WorkbookTemplateGallery `json:"galleries,omitempty"`
    // Localized - Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
    Localized map[string][]WorkbookTemplateLocalizedGallery `json:"localized"`
}

func (WorkbookTemplateProperties) MarshalJSON

func (wtp WorkbookTemplateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookTemplateProperties.

type WorkbookTemplateResource

WorkbookTemplateResource an azure resource object

type WorkbookTemplateResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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"`
}

func (WorkbookTemplateResource) MarshalJSON

func (wtr WorkbookTemplateResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookTemplateResource.

type WorkbookTemplateUpdateParameters

WorkbookTemplateUpdateParameters the parameters that can be provided when updating workbook template.

type WorkbookTemplateUpdateParameters struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // WorkbookTemplateProperties - Metadata describing a workbook for an Azure resource.
    *WorkbookTemplateProperties `json:"properties,omitempty"`
}

func (WorkbookTemplateUpdateParameters) MarshalJSON

func (wtup WorkbookTemplateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookTemplateUpdateParameters.

func (*WorkbookTemplateUpdateParameters) UnmarshalJSON

func (wtup *WorkbookTemplateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkbookTemplateUpdateParameters struct.

type WorkbookTemplatesClient

WorkbookTemplatesClient is the composite Swagger for Application Insights Management Client

type WorkbookTemplatesClient struct {
    BaseClient
}

func NewWorkbookTemplatesClient

func NewWorkbookTemplatesClient(subscriptionID string) WorkbookTemplatesClient

NewWorkbookTemplatesClient creates an instance of the WorkbookTemplatesClient client.

func NewWorkbookTemplatesClientWithBaseURI

func NewWorkbookTemplatesClientWithBaseURI(baseURI string, subscriptionID string) WorkbookTemplatesClient

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

func (WorkbookTemplatesClient) CreateOrUpdate

func (client WorkbookTemplatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateProperties WorkbookTemplate) (result WorkbookTemplate, err error)

CreateOrUpdate create a new workbook template. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workbookTemplateProperties - properties that need to be specified to create a new workbook.

func (WorkbookTemplatesClient) CreateOrUpdatePreparer

func (client WorkbookTemplatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateProperties WorkbookTemplate) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkbookTemplatesClient) CreateOrUpdateResponder

func (client WorkbookTemplatesClient) CreateOrUpdateResponder(resp *http.Response) (result WorkbookTemplate, err error)

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

func (WorkbookTemplatesClient) CreateOrUpdateSender

func (client WorkbookTemplatesClient) 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 (WorkbookTemplatesClient) Delete

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

Delete delete a workbook template. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (WorkbookTemplatesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WorkbookTemplatesClient) DeleteResponder

func (client WorkbookTemplatesClient) 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 (WorkbookTemplatesClient) DeleteSender

func (client WorkbookTemplatesClient) 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 (WorkbookTemplatesClient) Get

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

Get get a single workbook template by its resourceName. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (WorkbookTemplatesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WorkbookTemplatesClient) GetResponder

func (client WorkbookTemplatesClient) GetResponder(resp *http.Response) (result WorkbookTemplate, err error)

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

func (WorkbookTemplatesClient) GetSender

func (client WorkbookTemplatesClient) 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 (WorkbookTemplatesClient) ListByResourceGroup

func (client WorkbookTemplatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkbookTemplatesListResult, err error)

ListByResourceGroup get all Workbook templates defined within a specified resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (WorkbookTemplatesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkbookTemplatesClient) ListByResourceGroupResponder

func (client WorkbookTemplatesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkbookTemplatesListResult, err error)

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

func (WorkbookTemplatesClient) ListByResourceGroupSender

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

func (client WorkbookTemplatesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateUpdateParameters *WorkbookTemplateUpdateParameters) (result WorkbookTemplate, err error)

Update updates a workbook template that has already been added. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workbookTemplateUpdateParameters - properties that need to be specified to patch a workbook template.

func (WorkbookTemplatesClient) UpdatePreparer

func (client WorkbookTemplatesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookTemplateUpdateParameters *WorkbookTemplateUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkbookTemplatesClient) UpdateResponder

func (client WorkbookTemplatesClient) UpdateResponder(resp *http.Response) (result WorkbookTemplate, err error)

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

func (WorkbookTemplatesClient) UpdateSender

func (client WorkbookTemplatesClient) 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 WorkbookTemplatesListResult

WorkbookTemplatesListResult workbookTemplate list result.

type WorkbookTemplatesListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of workbook templates.
    Value *[]WorkbookTemplate `json:"value,omitempty"`
}

type WorkbookUpdateParameters

WorkbookUpdateParameters the parameters that can be provided when updating workbook properties properties.

type WorkbookUpdateParameters struct {
    // Kind - The kind of workbook. Only valid value is shared. Possible values include: 'SharedTypeKindUser', 'SharedTypeKindShared'
    Kind SharedTypeKind `json:"kind,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // WorkbookPropertiesUpdateParameters - Metadata describing a workbook for an Azure resource.
    *WorkbookPropertiesUpdateParameters `json:"properties,omitempty"`
}

func (WorkbookUpdateParameters) MarshalJSON

func (wup WorkbookUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbookUpdateParameters.

func (*WorkbookUpdateParameters) UnmarshalJSON

func (wup *WorkbookUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkbookUpdateParameters struct.

type WorkbooksClient

WorkbooksClient is the composite Swagger for Application Insights Management Client

type WorkbooksClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WorkbooksClient) CreateOrUpdate

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

CreateOrUpdate create a new workbook. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. workbookProperties - properties that need to be specified to create a new workbook. sourceID - azure Resource Id that will fetch all linked workbooks.

func (WorkbooksClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkbooksClient) CreateOrUpdateResponder

func (client WorkbooksClient) 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 (WorkbooksClient) CreateOrUpdateSender

func (client WorkbooksClient) 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 (WorkbooksClient) Delete

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

Delete delete a workbook. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (WorkbooksClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WorkbooksClient) DeleteResponder

func (client WorkbooksClient) 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 (WorkbooksClient) DeleteSender

func (client WorkbooksClient) 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 (WorkbooksClient) Get

func (client WorkbooksClient) Get(ctx context.Context, resourceGroupName string, resourceName string, canFetchContent *bool) (result Workbook, err error)

Get get a single workbook by its resourceName. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (WorkbooksClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WorkbooksClient) GetResponder

func (client WorkbooksClient) 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 (WorkbooksClient) GetSender

func (client WorkbooksClient) 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 (WorkbooksClient) ListByResourceGroup

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

ListByResourceGroup get all Workbooks defined within a specified resource group and category. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. category - category of workbook to return. tags - tags presents on each workbook returned. sourceID - azure Resource Id that will fetch all linked workbooks. canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (WorkbooksClient) ListByResourceGroupComplete

func (client WorkbooksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, sourceID string, canFetchContent *bool) (result WorkbooksListResultIterator, err error)

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

func (WorkbooksClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkbooksClient) ListByResourceGroupResponder

func (client WorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result WorkbooksListResult, 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.

func (WorkbooksClient) ListBySubscription

func (client WorkbooksClient) ListBySubscription(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result WorkbooksListResultPage, err error)

ListBySubscription get all Workbooks defined within a specified subscription and category. Parameters: category - category of workbook to return. tags - tags presents on each workbook returned. canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

func (WorkbooksClient) ListBySubscriptionComplete

func (client WorkbooksClient) ListBySubscriptionComplete(ctx context.Context, category CategoryType, tags []string, canFetchContent *bool) (result WorkbooksListResultIterator, err error)

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

func (WorkbooksClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (WorkbooksClient) ListBySubscriptionResponder

func (client WorkbooksClient) ListBySubscriptionResponder(resp *http.Response) (result WorkbooksListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (WorkbooksClient) ListBySubscriptionSender

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

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

func (WorkbooksClient) RevisionGet

func (client WorkbooksClient) RevisionGet(ctx context.Context, resourceGroupName string, resourceName string, revisionID string) (result Workbook, err error)

RevisionGet get a single workbook revision defined by its revisionId. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. revisionID - the id of the workbook's revision.

func (WorkbooksClient) RevisionGetPreparer

func (client WorkbooksClient) RevisionGetPreparer(ctx context.Context, resourceGroupName string, resourceName string, revisionID string) (*http.Request, error)

RevisionGetPreparer prepares the RevisionGet request.

func (WorkbooksClient) RevisionGetResponder

func (client WorkbooksClient) RevisionGetResponder(resp *http.Response) (result Workbook, err error)

RevisionGetResponder handles the response to the RevisionGet request. The method always closes the http.Response Body.

func (WorkbooksClient) RevisionGetSender

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

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

func (WorkbooksClient) RevisionsList

func (client WorkbooksClient) RevisionsList(ctx context.Context, resourceGroupName string, resourceName string) (result WorkbooksListResultPage, err error)

RevisionsList get the revisions for the workbook defined by its resourceName. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource.

func (WorkbooksClient) RevisionsListComplete

func (client WorkbooksClient) RevisionsListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result WorkbooksListResultIterator, err error)

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

func (WorkbooksClient) RevisionsListPreparer

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

RevisionsListPreparer prepares the RevisionsList request.

func (WorkbooksClient) RevisionsListResponder

func (client WorkbooksClient) RevisionsListResponder(resp *http.Response) (result WorkbooksListResult, err error)

RevisionsListResponder handles the response to the RevisionsList request. The method always closes the http.Response Body.

func (WorkbooksClient) RevisionsListSender

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

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

func (WorkbooksClient) Update

func (client WorkbooksClient) Update(ctx context.Context, resourceGroupName string, resourceName string, sourceID string, workbookUpdateParameters *WorkbookUpdateParameters) (result Workbook, err error)

Update updates a workbook that has already been added. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the Application Insights component resource. sourceID - azure Resource Id that will fetch all linked workbooks. workbookUpdateParameters - properties that need to be specified to create a new workbook.

func (WorkbooksClient) UpdatePreparer

func (client WorkbooksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, sourceID string, workbookUpdateParameters *WorkbookUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkbooksClient) UpdateResponder

func (client WorkbooksClient) 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 (WorkbooksClient) UpdateSender

func (client WorkbooksClient) 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 WorkbooksListResult

WorkbooksListResult workbook list result.

type WorkbooksListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; An array of workbooks.
    Value    *[]Workbook `json:"value,omitempty"`
    NextLink *string     `json:"nextLink,omitempty"`
}

func (WorkbooksListResult) IsEmpty

func (wlr WorkbooksListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkbooksListResult) MarshalJSON

func (wlr WorkbooksListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkbooksListResult.

type WorkbooksListResultIterator

WorkbooksListResultIterator provides access to a complete listing of Workbook values.

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

func NewWorkbooksListResultIterator

func NewWorkbooksListResultIterator(page WorkbooksListResultPage) WorkbooksListResultIterator

Creates a new instance of the WorkbooksListResultIterator type.

func (*WorkbooksListResultIterator) Next

func (iter *WorkbooksListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*WorkbooksListResultIterator) NextWithContext

func (iter *WorkbooksListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (WorkbooksListResultIterator) NotDone

func (iter WorkbooksListResultIterator) NotDone() bool

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

func (WorkbooksListResultIterator) Response

func (iter WorkbooksListResultIterator) Response() WorkbooksListResult

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

func (WorkbooksListResultIterator) Value

func (iter WorkbooksListResultIterator) Value() Workbook

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

type WorkbooksListResultPage

WorkbooksListResultPage contains a page of Workbook values.

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

func NewWorkbooksListResultPage

func NewWorkbooksListResultPage(cur WorkbooksListResult, getNextPage func(context.Context, WorkbooksListResult) (WorkbooksListResult, error)) WorkbooksListResultPage

Creates a new instance of the WorkbooksListResultPage type.

func (*WorkbooksListResultPage) Next

func (page *WorkbooksListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*WorkbooksListResultPage) NextWithContext

func (page *WorkbooksListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (WorkbooksListResultPage) NotDone

func (page WorkbooksListResultPage) NotDone() bool

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

func (WorkbooksListResultPage) Response

func (page WorkbooksListResultPage) Response() WorkbooksListResult

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

func (WorkbooksListResultPage) Values

func (page WorkbooksListResultPage) Values() []Workbook

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

Subdirectories

Name Synopsis
..
insightsapi Deprecated: Please note, this package has been deprecated.