Share via


ApplicationInsightsExtensions.GetApplicationInsightsWebTestResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ApplicationInsightsWebTestResource object.

Exceptions

client is null.

Applies to