Share via


ApplicationInsightsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ApplicationInsights.

public static class ApplicationInsightsExtensions
type ApplicationInsightsExtensions = class
Public Module ApplicationInsightsExtensions
Inheritance
ApplicationInsightsExtensions

Methods

GetApplicationInsightsComponent(ResourceGroupResource, String, CancellationToken)

Returns an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • Operation Id: Components_Get
  • Default Api Version: 2020-02-02
  • Resource: ApplicationInsightsComponentResource
<item>MockingTo mock this method, please mock GetApplicationInsightsComponent(String, CancellationToken) instead.</item>
GetApplicationInsightsComponentAsync(ResourceGroupResource, String, CancellationToken)

Returns an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • Operation Id: Components_Get
  • Default Api Version: 2020-02-02
  • Resource: ApplicationInsightsComponentResource
<item>MockingTo mock this method, please mock GetApplicationInsightsComponentAsync(String, CancellationToken) instead.</item>
GetApplicationInsightsComponentResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApplicationInsightsComponentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ApplicationInsightsComponentResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApplicationInsightsComponentResource(ResourceIdentifier) instead.</item>

GetApplicationInsightsComponents(ResourceGroupResource)

Gets a collection of ApplicationInsightsComponentResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetApplicationInsightsComponents() instead.</item>

GetApplicationInsightsComponents(SubscriptionResource, CancellationToken)

Gets a list of all Application Insights components within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/components
  • Operation Id: Components_List
  • Default Api Version: 2020-02-02
  • Resource: ApplicationInsightsComponentResource
<item>MockingTo mock this method, please mock GetApplicationInsightsComponents(CancellationToken) instead.</item>
GetApplicationInsightsComponentsAsync(SubscriptionResource, CancellationToken)

Gets a list of all Application Insights components within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/components
  • Operation Id: Components_List
  • Default Api Version: 2020-02-02
  • Resource: ApplicationInsightsComponentResource
<item>MockingTo mock this method, please mock GetApplicationInsightsComponents(CancellationToken) instead.</item>
GetApplicationInsightsWebTest(ResourceGroupResource, String, CancellationToken)

Get a specific Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: ApplicationInsightsWebTestResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWebTest(String, CancellationToken) instead.</item>
GetApplicationInsightsWebTestAsync(ResourceGroupResource, String, CancellationToken)

Get a specific Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: ApplicationInsightsWebTestResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWebTestAsync(String, CancellationToken) instead.</item>
GetApplicationInsightsWebTestResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApplicationInsightsWebTestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ApplicationInsightsWebTestResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApplicationInsightsWebTestResource(ResourceIdentifier) instead.</item>

GetApplicationInsightsWebTests(ResourceGroupResource)

Gets a collection of ApplicationInsightsWebTestResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetApplicationInsightsWebTests() instead.</item>

GetApplicationInsightsWebTests(SubscriptionResource, CancellationToken)

Get all Application Insights web test definitions for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_List
  • Default Api Version: 2022-06-15
  • Resource: ApplicationInsightsWebTestResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWebTests(CancellationToken) instead.</item>
GetApplicationInsightsWebTestsAsync(SubscriptionResource, CancellationToken)

Get all Application Insights web test definitions for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_List
  • Default Api Version: 2022-06-15
  • Resource: ApplicationInsightsWebTestResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWebTests(CancellationToken) instead.</item>
GetApplicationInsightsWorkbook(ResourceGroupResource, String, Nullable<Boolean>, CancellationToken)

Get a single workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
  • Operation Id: Workbooks_Get
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbook(String, Nullable<Boolean>, CancellationToken) instead.</item>
GetApplicationInsightsWorkbookAsync(ResourceGroupResource, String, Nullable<Boolean>, CancellationToken)

Get a single workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
  • Operation Id: Workbooks_Get
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookAsync(String, Nullable<Boolean>, CancellationToken) instead.</item>
GetApplicationInsightsWorkbookResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApplicationInsightsWorkbookResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ApplicationInsightsWorkbookResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookResource(ResourceIdentifier) instead.</item>

GetApplicationInsightsWorkbookRevisionResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApplicationInsightsWorkbookRevisionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ApplicationInsightsWorkbookRevisionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookRevisionResource(ResourceIdentifier) instead.</item>

GetApplicationInsightsWorkbooks(ResourceGroupResource)

Gets a collection of ApplicationInsightsWorkbookResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetApplicationInsightsWorkbooks() instead.</item>

GetApplicationInsightsWorkbooks(SubscriptionResource, WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all Workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks
  • Operation Id: Workbooks_ListBySubscription
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbooks(WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetApplicationInsightsWorkbooksAsync(SubscriptionResource, WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all Workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks
  • Operation Id: Workbooks_ListBySubscription
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbooks(WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetApplicationInsightsWorkbookTemplate(ResourceGroupResource, String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: ApplicationInsightsWorkbookTemplateResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookTemplate(String, CancellationToken) instead.</item>
GetApplicationInsightsWorkbookTemplateAsync(ResourceGroupResource, String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: ApplicationInsightsWorkbookTemplateResource
<item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookTemplateAsync(String, CancellationToken) instead.</item>
GetApplicationInsightsWorkbookTemplateResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApplicationInsightsWorkbookTemplateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ApplicationInsightsWorkbookTemplateResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookTemplateResource(ResourceIdentifier) instead.</item>

GetApplicationInsightsWorkbookTemplates(ResourceGroupResource)

Gets a collection of ApplicationInsightsWorkbookTemplateResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetApplicationInsightsWorkbookTemplates() instead.</item>

GetComponentLinkedStorageAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a ComponentLinkedStorageAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, StorageType) to create a ComponentLinkedStorageAccountResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetComponentLinkedStorageAccountResource(ResourceIdentifier) instead.</item>

GetLiveToken(ArmClient, ResourceIdentifier, CancellationToken)

Gets an access token for live metrics stream data.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/generatelivetoken
  • Operation Id: LiveToken_Get
  • Default Api Version: 2021-10-14
<item>MockingTo mock this method, please mock GetLiveToken(ResourceIdentifier, CancellationToken) instead.</item>
GetLiveTokenAsync(ArmClient, ResourceIdentifier, CancellationToken)

Gets an access token for live metrics stream data.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/generatelivetoken
  • Operation Id: LiveToken_Get
  • Default Api Version: 2021-10-14
<item>MockingTo mock this method, please mock GetLiveToken(ResourceIdentifier, CancellationToken) instead.</item>
GetMyWorkbook(ResourceGroupResource, String, CancellationToken)

Get a single private workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}
  • Operation Id: MyWorkbooks_Get
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
<item>MockingTo mock this method, please mock GetMyWorkbook(String, CancellationToken) instead.</item>
GetMyWorkbookAsync(ResourceGroupResource, String, CancellationToken)

Get a single private workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}
  • Operation Id: MyWorkbooks_Get
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
<item>MockingTo mock this method, please mock GetMyWorkbookAsync(String, CancellationToken) instead.</item>
GetMyWorkbookResource(ArmClient, ResourceIdentifier)

Gets an object representing a MyWorkbookResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MyWorkbookResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMyWorkbookResource(ResourceIdentifier) instead.</item>

GetMyWorkbooks(ResourceGroupResource)

Gets a collection of MyWorkbookResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetMyWorkbooks() instead.</item>

GetMyWorkbooks(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all private workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks
  • Operation Id: MyWorkbooks_ListBySubscription
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
<item>MockingTo mock this method, please mock GetMyWorkbooks(CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetMyWorkbooksAsync(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all private workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks
  • Operation Id: MyWorkbooks_ListBySubscription
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
<item>MockingTo mock this method, please mock GetMyWorkbooks(CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetWebTest(ResourceGroupResource, String, CancellationToken)

Get a specific Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
<item>MockingTo mock this method, please mock GetWebTest(String, CancellationToken) instead.</item>
GetWebTestAsync(ResourceGroupResource, String, CancellationToken)

Get a specific Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
<item>MockingTo mock this method, please mock GetWebTestAsync(String, CancellationToken) instead.</item>
GetWebTestResource(ArmClient, ResourceIdentifier)

Gets an object representing a WebTestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a WebTestResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetWebTestResource(ResourceIdentifier) instead.</item>

GetWebTests(ResourceGroupResource)

Gets a collection of WebTestResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetWebTests() instead.</item>

GetWebTests(SubscriptionResource, CancellationToken)

Get all Application Insights web test definitions for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_List
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
<item>MockingTo mock this method, please mock GetWebTests(CancellationToken) instead.</item>
GetWebTestsAsync(SubscriptionResource, CancellationToken)

Get all Application Insights web test definitions for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_List
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
<item>MockingTo mock this method, please mock GetWebTests(CancellationToken) instead.</item>
GetWorkbook(ResourceGroupResource, String, Nullable<Boolean>, CancellationToken)

Get a single workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
  • Operation Id: Workbooks_Get
  • Default Api Version: 2022-04-01
  • Resource: WorkbookResource
<item>MockingTo mock this method, please mock GetWorkbook(String, Nullable<Boolean>, CancellationToken) instead.</item>
GetWorkbookAsync(ResourceGroupResource, String, Nullable<Boolean>, CancellationToken)

Get a single workbook by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
  • Operation Id: Workbooks_Get
  • Default Api Version: 2022-04-01
  • Resource: WorkbookResource
<item>MockingTo mock this method, please mock GetWorkbookAsync(String, Nullable<Boolean>, CancellationToken) instead.</item>
GetWorkbookResource(ArmClient, ResourceIdentifier)

Gets an object representing a WorkbookResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a WorkbookResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetWorkbookResource(ResourceIdentifier) instead.</item>

GetWorkbookRevisionResource(ArmClient, ResourceIdentifier)

Gets an object representing a WorkbookRevisionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a WorkbookRevisionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetWorkbookRevisionResource(ResourceIdentifier) instead.</item>

GetWorkbooks(ResourceGroupResource)

Gets a collection of WorkbookResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetWorkbooks() instead.</item>

GetWorkbooks(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all Workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks
  • Operation Id: Workbooks_ListBySubscription
  • Default Api Version: 2022-04-01
  • Resource: WorkbookResource
<item>MockingTo mock this method, please mock GetWorkbooks(CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetWorkbooksAsync(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all Workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks
  • Operation Id: Workbooks_ListBySubscription
  • Default Api Version: 2022-04-01
  • Resource: WorkbookResource
<item>MockingTo mock this method, please mock GetWorkbooks(CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken) instead.</item>
GetWorkbookTemplate(ResourceGroupResource, String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
<item>MockingTo mock this method, please mock GetWorkbookTemplate(String, CancellationToken) instead.</item>
GetWorkbookTemplateAsync(ResourceGroupResource, String, CancellationToken)

Get a single workbook template by its resourceName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}
  • Operation Id: WorkbookTemplates_Get
  • Default Api Version: 2020-11-20
  • Resource: WorkbookTemplateResource
<item>MockingTo mock this method, please mock GetWorkbookTemplateAsync(String, CancellationToken) instead.</item>
GetWorkbookTemplateResource(ArmClient, ResourceIdentifier)

Gets an object representing a WorkbookTemplateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a WorkbookTemplateResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetWorkbookTemplateResource(ResourceIdentifier) instead.</item>

GetWorkbookTemplates(ResourceGroupResource)

Gets a collection of WorkbookTemplateResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetWorkbookTemplates() instead.</item>

Applies to