Udostępnij za pośrednictwem


WebTestsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates an Application Insights web test definition.

public static Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest CreateOrUpdate (this Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations operations, string resourceGroupName, string webTestName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest webTestDefinition);
static member CreateOrUpdate : Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest -> Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest
<Extension()>
Public Function CreateOrUpdate (operations As IWebTestsOperations, resourceGroupName As String, webTestName As String, webTestDefinition As WebTest) As WebTest

Parameters

operations
IWebTestsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

webTestName
String

The name of the Application Insights webtest resource.

webTestDefinition
WebTest

Properties that need to be specified to create or update an Application Insights web test definition.

Returns

Applies to