InsightsFunctions

Functions

Link copied to clipboard

Get an action group. Uses Azure REST API version 2023-01-01. Other available API versions: 2023-09-01-preview, 2024-10-01-preview.

suspend fun getActionGroup(actionGroupName: String, resourceGroupName: String): GetActionGroupResult
Link copied to clipboard

Get an Activity Log Alert rule. Uses Azure REST API version 2020-10-01. Other available API versions: 2017-04-01, 2023-01-01-preview.

suspend fun getActivityLogAlert(activityLogAlertName: String, resourceGroupName: String): GetActivityLogAlertResult
Link copied to clipboard

Gets a specific Analytics Items defined within an Application Insights component. Uses Azure REST API version 2015-05-01.

suspend fun getAnalyticsItem(id: String? = null, name: String? = null, resourceGroupName: String, resourceName: String, scopePath: String): GetAnalyticsItemResult
Link copied to clipboard

Gets an autoscale setting Uses Azure REST API version 2022-10-01.

suspend fun getAutoscaleSetting(autoscaleSettingName: String, resourceGroupName: String): GetAutoscaleSettingResult
Link copied to clipboard

Returns an Application Insights component. Uses Azure REST API version 2020-02-02. Other available API versions: 2020-02-02-preview.

suspend fun getComponent(resourceGroupName: String, resourceName: String): GetComponentResult
Link copied to clipboard

Returns current billing features for an Application Insights component. Uses Azure REST API version 2015-05-01.

Link copied to clipboard

Returns the current linked storage settings for an Application Insights component. Uses Azure REST API version 2020-03-01-preview.

suspend fun getComponentLinkedStorageAccount(resourceGroupName: String, resourceName: String, storageType: String): GetComponentLinkedStorageAccountResult
Link copied to clipboard

Definition of ARM tracked top level resource. Uses Azure REST API version 2022-06-01. Other available API versions: 2023-03-11.

suspend fun getDataCollectionEndpoint(dataCollectionEndpointName: String, resourceGroupName: String): GetDataCollectionEndpointResult
Link copied to clipboard

Definition of ARM tracked top level resource. Uses Azure REST API version 2022-06-01. Other available API versions: 2023-03-11.

suspend fun getDataCollectionRule(dataCollectionRuleName: String, resourceGroupName: String): GetDataCollectionRuleResult
Link copied to clipboard

Definition of generic ARM proxy resource. Uses Azure REST API version 2022-06-01. Other available API versions: 2023-03-11.

Link copied to clipboard

Gets an read-only access token for application insights diagnostic service data. Uses Azure REST API version 2021-03-03-preview.

Link copied to clipboard

Gets an read-write access token for application insights diagnostic service data. Uses Azure REST API version 2021-03-03-preview.

Link copied to clipboard

Gets the active diagnostic settings for the specified resource. Uses Azure REST API version 2021-05-01-preview.

Link copied to clipboard

Get the Continuous Export configuration for this export id. Uses Azure REST API version 2015-05-01.

suspend fun getExportConfiguration(exportId: String, resourceGroupName: String, resourceName: String): GetExportConfigurationResult
Link copied to clipboard

Get a single favorite by its FavoriteId, defined within an Application Insights component. Uses Azure REST API version 2015-05-01.

suspend fun getFavorite(argument: suspend GetFavoritePlainArgsBuilder.() -> Unit): GetFavoriteResult
suspend fun getFavorite(favoriteId: String, resourceGroupName: String, resourceName: String): GetFavoriteResult
Link copied to clipboard

Gets guest diagnostics settings. Uses Azure REST API version 2018-06-01-preview.

suspend fun getGuestDiagnosticsSetting(diagnosticSettingsName: String, resourceGroupName: String): GetGuestDiagnosticsSettingResult
Link copied to clipboard

Gets an access token for live metrics stream data. Uses Azure REST API version 2021-10-14. Other available API versions: 2020-06-02-preview.

suspend fun getLiveToken(resourceUri: String): GetLiveTokenResult
Link copied to clipboard

Gets the log profile. Uses Azure REST API version 2016-03-01.

suspend fun getLogProfile(logProfileName: String): GetLogProfileResult
Link copied to clipboard

Gets the active management group diagnostic settings for the specified resource. Uses Azure REST API version 2021-05-01-preview. Other available API versions: 2020-01-01-preview.

Link copied to clipboard

Retrieve an alert rule definition. Uses Azure REST API version 2018-03-01.

suspend fun getMetricAlert(resourceGroupName: String, ruleName: String): GetMetricAlertResult
Link copied to clipboard

Get a single private workbook by its resourceName. Uses Azure REST API version 2021-03-08.

suspend fun getMyWorkbook(resourceGroupName: String, resourceName: String): GetMyWorkbookResult
Link copied to clipboard

Gets a private endpoint connection. Uses Azure REST API version 2021-07-01-preview. Other available API versions: 2019-10-17-preview, 2021-09-01, 2023-06-01-preview.

suspend fun getPrivateEndpointConnection(privateEndpointConnectionName: String, resourceGroupName: String, scopeName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

Returns a Azure Monitor PrivateLinkScope. Uses Azure REST API version 2021-07-01-preview. Other available API versions: 2019-10-17-preview, 2021-09-01, 2023-06-01-preview.

suspend fun getPrivateLinkScope(resourceGroupName: String, scopeName: String): GetPrivateLinkScopeResult
Link copied to clipboard

Gets a scoped resource in a private link scope. Uses Azure REST API version 2021-07-01-preview. Other available API versions: 2021-09-01, 2023-06-01-preview.

suspend fun getPrivateLinkScopedResource(name: String, resourceGroupName: String, scopeName: String): GetPrivateLinkScopedResourceResult
Link copied to clipboard

Get the ProactiveDetection configuration for this configuration id. Uses Azure REST API version 2018-05-01-preview. Other available API versions: 2015-05-01.

suspend fun getProactiveDetectionConfiguration(configurationId: String, resourceGroupName: String, resourceName: String): GetProactiveDetectionConfigurationResult
Link copied to clipboard

Retrieve an scheduled query rule definition. Uses Azure REST API version 2023-03-15-preview. Other available API versions: 2018-04-16, 2020-05-01-preview, 2022-08-01-preview, 2023-12-01, 2024-01-01-preview, 2025-01-01-preview.

suspend fun getScheduledQueryRule(resourceGroupName: String, ruleName: String): GetScheduledQueryRuleResult
Link copied to clipboard

Gets the active subscription diagnostic settings for the specified resource. Uses Azure REST API version 2021-05-01-preview. Other available API versions: 2017-05-01-preview.

Link copied to clipboard

Get a tenant action group. Uses Azure REST API version 2023-05-01-preview.

suspend fun getTenantActionGroup(managementGroupId: String, tenantActionGroupName: String): GetTenantActionGroupResult
Link copied to clipboard

Returns a file test result for the matching test Uses Azure REST API version 2020-02-10-preview.

suspend fun getTestResultFile(continuationToken: String? = null, downloadAs: String, geoLocationId: String, resourceGroupName: String, testSuccessfulCriteria: Boolean? = null, timeStamp: Int, webTestName: String): GetTestResultFileResult
Link copied to clipboard

Get a specific Application Insights web test definition. Uses Azure REST API version 2022-06-15. Other available API versions: 2020-10-05-preview.

suspend fun getWebTest(argument: suspend GetWebTestPlainArgsBuilder.() -> Unit): GetWebTestResult
suspend fun getWebTest(resourceGroupName: String, webTestName: String): GetWebTestResult
Link copied to clipboard

Get a single workbook by its resourceName. Uses Azure REST API version 2022-04-01. Other available API versions: 2015-05-01, 2021-03-08, 2021-08-01, 2023-06-01.

suspend fun getWorkbook(argument: suspend GetWorkbookPlainArgsBuilder.() -> Unit): GetWorkbookResult
suspend fun getWorkbook(canFetchContent: Boolean? = null, resourceGroupName: String, resourceName: String): GetWorkbookResult
Link copied to clipboard

Get a single workbook template by its resourceName. Uses Azure REST API version 2020-11-20.

suspend fun getWorkbookTemplate(resourceGroupName: String, resourceName: String): GetWorkbookTemplateResult
Link copied to clipboard

Lists the diagnostic settings categories for the specified resource. Uses Azure REST API version 2021-05-01-preview. Other available API versions: 2017-05-01-preview.

Link copied to clipboard

list date to migrate to new pricing model. Uses Azure REST API version 2017-10-01.