你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationInsightsComponentResource 类

定义

表示 ApplicationInsightsComponent 的类,以及可对其进行执行的实例操作。 如果有 ,ResourceIdentifier则可以使用 GetApplicationInsightsComponentResource 方法从 实例ArmClient构造 ApplicationInsightsComponentResource 。 否则,可以使用 GetApplicationInsightsComponent 方法从其父资源 ResourceGroupResource 获取一个。

public class ApplicationInsightsComponentResource : Azure.ResourceManager.ArmResource
type ApplicationInsightsComponentResource = class
    inherit ArmResource
Public Class ApplicationInsightsComponentResource
Inherits ArmResource
继承
ApplicationInsightsComponentResource

构造函数

ApplicationInsightsComponentResource()

初始化 类的新实例 ApplicationInsightsComponentResource 进行模拟。

字段

ResourceType

获取操作的资源类型。

属性

Client

获取 ArmClient 创建自的此资源客户端。

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

获取此资源客户端的诊断选项。

(继承自 ArmResource)
Endpoint

获取此资源客户端的基 URI。

(继承自 ArmResource)
HasData

获取当前实例是否具有数据。

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

获取此资源客户端的管道。

(继承自 ArmResource)

方法

AddFavorite(String, ApplicationInsightsComponentFavorite, CancellationToken)

将新收藏夹添加到 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Add
AddFavoriteAsync(String, ApplicationInsightsComponentFavorite, CancellationToken)

将新收藏夹添加到 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Add
AddTag(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
AddTagAsync(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
CanUseTagResource(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
CreateAnnotations(Annotation, CancellationToken)

创建 Application Insights 组件的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
  • 操作IdAnnotations_Create
CreateAnnotationsAsync(Annotation, CancellationToken)

创建 Application Insights 组件的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
  • 操作IdAnnotations_Create
CreateAPIKey(APIKeyContent, CancellationToken)

创建 Application Insights 组件的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • 操作IdAPIKeys_Create
CreateAPIKeyAsync(APIKeyContent, CancellationToken)

创建 Application Insights 组件的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • 操作IdAPIKeys_Create
CreateExportConfigurations(ApplicationInsightsComponentExportRequest, CancellationToken)

创建 Application Insights 组件的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration
  • 操作IdExportConfigurations_Create
CreateExportConfigurationsAsync(ApplicationInsightsComponentExportRequest, CancellationToken)

创建 Application Insights 组件的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration
  • 操作IdExportConfigurations_Create
CreateResourceIdentifier(String, String, String)

生成实例的资源标识符 ApplicationInsightsComponentResource

CreateWorkItemConfiguration(WorkItemCreateConfiguration, CancellationToken)

为 Application Insights 组件创建工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • 操作IdWorkItemConfigurations_Create
CreateWorkItemConfigurationAsync(WorkItemCreateConfiguration, CancellationToken)

为 Application Insights 组件创建工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • 操作IdWorkItemConfigurations_Create
Delete(WaitUntil, CancellationToken)

删除 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Delete
DeleteAnalyticsItem(ItemScopePath, String, String, CancellationToken)

删除 Application Insights 组件中定义的特定分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Delete
DeleteAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken)

删除 Application Insights 组件中定义的特定分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Delete
DeleteAnnotation(String, CancellationToken)

删除 Application Insights 组件的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
  • 操作IdAnnotations_Delete
DeleteAnnotationAsync(String, CancellationToken)

删除 Application Insights 组件的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
  • 操作IdAnnotations_Delete
DeleteAPIKey(String, CancellationToken)

删除 Application Insights 组件的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}
  • 操作IdAPIKeys_Delete
DeleteAPIKeyAsync(String, CancellationToken)

删除 Application Insights 组件的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}
  • 操作IdAPIKeys_Delete
DeleteAsync(WaitUntil, CancellationToken)

删除 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Delete
DeleteExportConfiguration(String, CancellationToken)

删除 Application Insights 组件的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Delete
DeleteExportConfigurationAsync(String, CancellationToken)

删除 Application Insights 组件的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Delete
DeleteFavorite(String, CancellationToken)

删除与 Application Insights 组件关联的收藏夹。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Delete
DeleteFavoriteAsync(String, CancellationToken)

删除与 Application Insights 组件关联的收藏夹。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Delete
DeleteWorkItemConfiguration(String, CancellationToken)

删除 Application Insights 组件的工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_Delete
DeleteWorkItemConfigurationAsync(String, CancellationToken)

删除 Application Insights 组件的工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_Delete
Get(CancellationToken)

返回 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
GetAnalyticsItem(ItemScopePath, String, String, CancellationToken)

获取 Application Insights 组件中定义的特定分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Get
GetAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken)

获取 Application Insights 组件中定义的特定分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Get
GetAnalyticsItems(ItemScopePath, Nullable<ItemScope>, Nullable<ItemTypeParameter>, Nullable<Boolean>, CancellationToken)

获取 Application Insights 组件中定义的分析项的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • 操作IdAnalyticsItems_List
GetAnalyticsItemsAsync(ItemScopePath, Nullable<ItemScope>, Nullable<ItemTypeParameter>, Nullable<Boolean>, CancellationToken)

获取 Application Insights 组件中定义的分析项的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • 操作IdAnalyticsItems_List
GetAnnotations(String, CancellationToken)

获取给定 ID 的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
  • 操作IdAnnotations_Get
GetAnnotations(String, String, CancellationToken)

获取给定时间范围内的组件的批注列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
  • 操作IdAnnotations_List
GetAnnotationsAsync(String, CancellationToken)

获取给定 ID 的批注。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
  • 操作IdAnnotations_Get
GetAnnotationsAsync(String, String, CancellationToken)

获取给定时间范围内的组件的批注列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
  • 操作IdAnnotations_List
GetAPIKey(String, CancellationToken)

获取此密钥 ID 的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}
  • 操作IdAPIKeys_Get
GetAPIKeyAsync(String, CancellationToken)

获取此密钥 ID 的 API 密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}
  • 操作IdAPIKeys_Get
GetAPIKeys(CancellationToken)

获取 Application Insights 组件的 API 密钥列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • 操作IdAPIKeys_List
GetAPIKeysAsync(CancellationToken)

获取 Application Insights 组件的 API 密钥列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • 操作IdAPIKeys_List
GetAsync(CancellationToken)

返回 Application Insights 组件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
GetAvailableLocations(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetComponentAvailableFeature(CancellationToken)

返回 application insights 组件的所有可用功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures
  • 操作IdComponentAvailableFeatures_Get
GetComponentAvailableFeatureAsync(CancellationToken)

返回 application insights 组件的所有可用功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures
  • 操作IdComponentAvailableFeatures_Get
GetComponentCurrentBillingFeature(CancellationToken)

返回 Application Insights 组件的当前计费功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • 操作IdComponentCurrentBillingFeatures_Get
GetComponentCurrentBillingFeatureAsync(CancellationToken)

返回 Application Insights 组件的当前计费功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • 操作IdComponentCurrentBillingFeatures_Get
GetComponentFeatureCapability(CancellationToken)

返回 application Insights 组件的功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities
  • 操作IdComponentFeatureCapabilities_Get
GetComponentFeatureCapabilityAsync(CancellationToken)

返回 application Insights 组件的功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities
  • 操作IdComponentFeatureCapabilities_Get
GetComponentLinkedStorageAccount(StorageType, CancellationToken)

返回 Application Insights 组件的当前链接存储设置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}
  • 操作IdComponentLinkedStorageAccounts_Get
GetComponentLinkedStorageAccountAsync(StorageType, CancellationToken)

返回 Application Insights 组件的当前链接存储设置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}
  • 操作IdComponentLinkedStorageAccounts_Get
GetComponentLinkedStorageAccounts()

获取 ApplicationInsightsComponent 中 ComponentLinkedStorageAccountResources 的集合。

GetComponentQuotaStatus(CancellationToken)

返回 Application Insights 组件的每日数据量上限 (配额) 状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/quotastatus
  • 操作IdComponentQuotaStatus_Get
GetComponentQuotaStatusAsync(CancellationToken)

返回 Application Insights 组件的每日数据量上限 (配额) 状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/quotastatus
  • 操作IdComponentQuotaStatus_Get
GetDefaultWorkItemConfiguration(CancellationToken)

获取应用程序存在的默认工作项配置

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig
  • 操作IdWorkItemConfigurations_GetDefault
GetDefaultWorkItemConfigurationAsync(CancellationToken)

获取应用程序存在的默认工作项配置

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig
  • 操作IdWorkItemConfigurations_GetDefault
GetExportConfiguration(String, CancellationToken)

获取此导出 ID 的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Get
GetExportConfigurationAsync(String, CancellationToken)

获取此导出 ID 的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Get
GetExportConfigurations(CancellationToken)

获取 Application Insights 组件的连续导出配置列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration
  • 操作IdExportConfigurations_List
GetExportConfigurationsAsync(CancellationToken)

获取 Application Insights 组件的连续导出配置列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration
  • 操作IdExportConfigurations_List
GetFavorite(String, CancellationToken)

按其 FavoriteId 获取单个收藏夹,该收藏夹在 Application Insights 组件中定义。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Get
GetFavoriteAsync(String, CancellationToken)

按其 FavoriteId 获取单个收藏夹,该收藏夹在 Application Insights 组件中定义。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Get
GetFavorites(Nullable<FavoriteType>, Nullable<FavoriteSourceType>, Nullable<Boolean>, IEnumerable<String>, CancellationToken)

获取 Application Insights 组件中定义的收藏夹列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites
  • 操作IdFavorites_List
GetFavoritesAsync(Nullable<FavoriteType>, Nullable<FavoriteSourceType>, Nullable<Boolean>, IEnumerable<String>, CancellationToken)

获取 Application Insights 组件中定义的收藏夹列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites
  • 操作IdFavorites_List
GetItemWorkItemConfiguration(String, CancellationToken)

获取 Application Insights 组件的指定工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_GetItem
GetItemWorkItemConfigurationAsync(String, CancellationToken)

获取 Application Insights 组件的指定工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_GetItem
GetManagementLock(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLockAsync(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLocks()

获取 ArmResource 中的 ManagementLockResources 集合。

(继承自 ArmResource)
GetPolicyAssignment(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignments()

获取 ArmResource 中 PolicyAssignmentResources 的集合。

(继承自 ArmResource)
GetProactiveDetectionConfiguration(String, CancellationToken)

获取此配置 ID 的 ProactiveDetection 配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • 操作IdProactiveDetectionConfigurations_Get
GetProactiveDetectionConfigurationAsync(String, CancellationToken)

获取此配置 ID 的 ProactiveDetection 配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • 操作IdProactiveDetectionConfigurations_Get
GetProactiveDetectionConfigurations(CancellationToken)

获取 Application Insights 组件的 ProactiveDetection 配置列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs
  • 操作IdProactiveDetectionConfigurations_List
GetProactiveDetectionConfigurationsAsync(CancellationToken)

获取 Application Insights 组件的 ProactiveDetection 配置列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs
  • 操作IdProactiveDetectionConfigurations_List
GetPurgeStatus(String, CancellationToken)

获取正在进行的清除操作的状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}
  • 操作IdComponents_GetPurgeStatus
GetPurgeStatusAsync(String, CancellationToken)

获取正在进行的清除操作的状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}
  • 操作IdComponents_GetPurgeStatus
GetTagResource()

获取一个 对象,该对象表示 TagResource 以及可在 ArmResource 中对其进行执行的实例操作。

(继承自 ArmResource)
GetWebTestLocations(CancellationToken)

获取可用于此 Application Insights 组件的 Web 测试位置的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations
  • 操作IdwebTestLocations_List
GetWebTestLocationsAsync(CancellationToken)

获取可用于此 Application Insights 组件的 Web 测试位置的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations
  • 操作IdwebTestLocations_List
GetWebTests(CancellationToken)

获取为指定组件定义的所有 Application Insights Web 测试。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests
  • 操作IdWebTests_ListByComponent
GetWebTestsAsync(CancellationToken)

获取为指定组件定义的所有 Application Insights Web 测试。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests
  • 操作IdWebTests_ListByComponent
GetWorkItemConfigurations(CancellationToken)

获取应用程序存在的列表工作项配置

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • 操作IdWorkItemConfigurations_List
GetWorkItemConfigurationsAsync(CancellationToken)

获取应用程序存在的列表工作项配置

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • 操作IdWorkItemConfigurations_List
Purge(ComponentPurgeBody, CancellationToken)

通过一组用户定义的筛选器清除 Application Insights 组件中的数据。

若要管理系统资源,清除请求被限制为每小时 50 个请求。 应该通过发送一条命令并在其谓词中包含所有需要清除的用户标识,批量执行清除请求。 使用 in 运算符来指定多个标识。 应先运行查询,然后再对清除请求使用 来验证结果是否预期。 注意:此操作适用于经典资源,对于基于工作区的 Application Insights 资源,请直接 (工作区) (https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) 运行清除操作,范围限定为特定的资源 ID。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge
  • 操作IdComponents_Purge
PurgeAsync(ComponentPurgeBody, CancellationToken)

通过一组用户定义的筛选器清除 Application Insights 组件中的数据。

若要管理系统资源,清除请求被限制为每小时 50 个请求。 应该通过发送一条命令并在其谓词中包含所有需要清除的用户标识,批量执行清除请求。 使用 in 运算符来指定多个标识。 应先运行查询,然后再对清除请求使用 来验证结果是否预期。 注意:此操作适用于经典资源,对于基于工作区的 Application Insights 资源,请直接 (工作区) (https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) 运行清除操作,范围限定为特定的资源 ID。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge
  • 操作IdComponents_Purge
PutAnalyticsItem(ItemScopePath, ApplicationInsightsComponentAnalyticsItem, Nullable<Boolean>, CancellationToken)

在 Application Insights 组件中添加或汇报特定的分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Put
PutAnalyticsItemAsync(ItemScopePath, ApplicationInsightsComponentAnalyticsItem, Nullable<Boolean>, CancellationToken)

在 Application Insights 组件中添加或汇报特定的分析项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Put
RemoveTag(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
RemoveTagAsync(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
SetTags(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
SetTagsAsync(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_Get
TryGetApiVersion(ResourceType, String)

获取 API 版本替代(如果已为当前客户端选项设置)。

(继承自 ArmResource)
Update(TagsResource, CancellationToken)

汇报现有组件的标记。 若要更新其他字段,请使用 CreateOrUpdate 方法。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_UpdateTags
UpdateAsync(TagsResource, CancellationToken)

汇报现有组件的标记。 若要更新其他字段,请使用 CreateOrUpdate 方法。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • 操作IdComponents_UpdateTags
UpdateComponentCurrentBillingFeature(ApplicationInsightsComponentBillingFeatures, CancellationToken)

更新 Application Insights 组件的当前计费功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • 操作IdComponentCurrentBillingFeatures_Update
UpdateComponentCurrentBillingFeatureAsync(ApplicationInsightsComponentBillingFeatures, CancellationToken)

更新 Application Insights 组件的当前计费功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • 操作IdComponentCurrentBillingFeatures_Update
UpdateExportConfiguration(String, ApplicationInsightsComponentExportRequest, CancellationToken)

更新此导出 ID 的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Update
UpdateExportConfigurationAsync(String, ApplicationInsightsComponentExportRequest, CancellationToken)

更新此导出 ID 的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Update
UpdateFavorite(String, ApplicationInsightsComponentFavorite, CancellationToken)

汇报已添加到 Application Insights 组件的收藏夹。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Update
UpdateFavoriteAsync(String, ApplicationInsightsComponentFavorite, CancellationToken)

汇报已添加到 Application Insights 组件的收藏夹。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Update
UpdateItemWorkItemConfiguration(String, WorkItemCreateConfiguration, CancellationToken)

更新 Application Insights 组件的工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_UpdateItem
UpdateItemWorkItemConfigurationAsync(String, WorkItemCreateConfiguration, CancellationToken)

更新 Application Insights 组件的工作项配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}
  • 操作IdWorkItemConfigurations_UpdateItem
UpdateProactiveDetectionConfiguration(String, ApplicationInsightsComponentProactiveDetectionConfiguration, CancellationToken)

更新此配置 ID 的 ProactiveDetection 配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • 操作IdProactiveDetectionConfigurations_Update
UpdateProactiveDetectionConfigurationAsync(String, ApplicationInsightsComponentProactiveDetectionConfiguration, CancellationToken)

更新此配置 ID 的 ProactiveDetection 配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • 操作IdProactiveDetectionConfigurations_Update

扩展方法

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

获取 ArmResource 中 AuthorizationRoleDefinitionResources 的集合。

GetDenyAssignment(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

获取 ArmResource 中 DenyAssignmentResources 的集合。

GetRoleAssignment(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

获取 ArmResource 中 RoleAssignmentResources 的集合。

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleInstanceResources 的集合。

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleRequestResources 的集合。

GetRoleAssignmentSchedules(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleResources 的集合。

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleInstanceResources 的集合。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleRequestResources 的集合。

GetRoleEligibilitySchedules(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleResources 的集合。

GetRoleManagementPolicies(ArmResource)

获取 ArmResource 中 RoleManagementPolicyResources 的集合。

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

获取 ArmResource 中 RoleManagementPolicyAssignmentResources 的集合。

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

获取一个 对象,该对象表示 SystemAssignedIdentityResource 以及可在 ArmResource 中对它执行的实例操作。

GetLinkerResource(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResources(ArmResource)

获取 ArmResource 中 LinkerResources 的集合。

适用于