WebTestsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an Application Insights web test definition.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations operations, string resourceGroupName, string webTestName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest webTestDefinition, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWebTestsOperations, resourceGroupName As String, webTestName As String, webTestDefinition As WebTest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET