WebTestCollection Class

Definition

A class representing a collection of WebTestResource and their operations. Each WebTestResource in the collection will belong to the same instance of ResourceGroupResource. To get a WebTestCollection instance call the GetWebTests method from an instance of ResourceGroupResource.

public class WebTestCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ApplicationInsights.WebTestResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.WebTestResource>
type WebTestCollection = class
    inherit ArmCollection
    interface seq<WebTestResource>
    interface IEnumerable
    interface IAsyncEnumerable<WebTestResource>
Public Class WebTestCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of WebTestResource), IEnumerable(Of WebTestResource)
Inheritance
WebTestCollection
Implements

Constructors

WebTestCollection()

Initializes a new instance of the WebTestCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, WebTestData, CancellationToken)

Creates or updates an Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_CreateOrUpdate
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
CreateOrUpdateAsync(WaitUntil, String, WebTestData, CancellationToken)

Creates or updates an Application Insights web test definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_CreateOrUpdate
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
Get(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
GetAll(CancellationToken)

Get all Application Insights web tests defined for the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_ListByResourceGroup
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
GetAllAsync(CancellationToken)

Get all Application Insights web tests defined for the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_ListByResourceGroup
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
GetAsync(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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Operation Id: WebTests_Get
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<WebTestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WebTestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to