Share via


ApplicationInsightsExtensions.GetWebTestResource Method

Definition

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. MockingTo mock this method, please mock GetWebTestResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.ApplicationInsights.WebTestResource GetWebTestResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetWebTestResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApplicationInsights.WebTestResource
<Extension()>
Public Function GetWebTestResource (client As ArmClient, id As ResourceIdentifier) As WebTestResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a WebTestResource object.

Exceptions

client is null.

Applies to