LoadTests interface

Interface representing a LoadTests.

Methods

beginCreateOrUpdate(string, string, LoadTestResource, LoadTestsCreateOrUpdateOptionalParams)

Create or update LoadTest resource.

beginCreateOrUpdateAndWait(string, string, LoadTestResource, LoadTestsCreateOrUpdateOptionalParams)

Create or update LoadTest resource.

beginDelete(string, string, LoadTestsDeleteOptionalParams)

Delete a LoadTest resource.

beginDeleteAndWait(string, string, LoadTestsDeleteOptionalParams)

Delete a LoadTest resource.

beginUpdate(string, string, LoadTestResourcePatchRequestBody, LoadTestsUpdateOptionalParams)

Update a loadtest resource.

beginUpdateAndWait(string, string, LoadTestResourcePatchRequestBody, LoadTestsUpdateOptionalParams)

Update a loadtest resource.

get(string, string, LoadTestsGetOptionalParams)

Get a LoadTest resource.

listByResourceGroup(string, LoadTestsListByResourceGroupOptionalParams)

Lists loadtest resources in a resource group.

listBySubscription(LoadTestsListBySubscriptionOptionalParams)

Lists loadtests resources in a subscription.

listOutboundNetworkDependenciesEndpoints(string, string, LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams)

Lists the endpoints that agents may call as part of load testing.

Method Details

beginCreateOrUpdate(string, string, LoadTestResource, LoadTestsCreateOrUpdateOptionalParams)

Create or update LoadTest resource.

function beginCreateOrUpdate(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestResource>, LoadTestResource>>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

loadTestResource
LoadTestResource

LoadTest resource data

options
LoadTestsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<LoadTestResource>, LoadTestResource>>

beginCreateOrUpdateAndWait(string, string, LoadTestResource, LoadTestsCreateOrUpdateOptionalParams)

Create or update LoadTest resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<LoadTestResource>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

loadTestResource
LoadTestResource

LoadTest resource data

options
LoadTestsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<LoadTestResource>

beginDelete(string, string, LoadTestsDeleteOptionalParams)

Delete a LoadTest resource.

function beginDelete(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

options
LoadTestsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, LoadTestsDeleteOptionalParams)

Delete a LoadTest resource.

function beginDeleteAndWait(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

options
LoadTestsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, LoadTestResourcePatchRequestBody, LoadTestsUpdateOptionalParams)

Update a loadtest resource.

function beginUpdate(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestResource>, LoadTestResource>>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

loadTestResourcePatchRequestBody
LoadTestResourcePatchRequestBody

LoadTest resource update data

options
LoadTestsUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<LoadTestResource>, LoadTestResource>>

beginUpdateAndWait(string, string, LoadTestResourcePatchRequestBody, LoadTestsUpdateOptionalParams)

Update a loadtest resource.

function beginUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<LoadTestResource>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

loadTestResourcePatchRequestBody
LoadTestResourcePatchRequestBody

LoadTest resource update data

options
LoadTestsUpdateOptionalParams

The options parameters.

Returns

Promise<LoadTestResource>

get(string, string, LoadTestsGetOptionalParams)

Get a LoadTest resource.

function get(resourceGroupName: string, loadTestName: string, options?: LoadTestsGetOptionalParams): Promise<LoadTestResource>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

options
LoadTestsGetOptionalParams

The options parameters.

Returns

Promise<LoadTestResource>

listByResourceGroup(string, LoadTestsListByResourceGroupOptionalParams)

Lists loadtest resources in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: LoadTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LoadTestResource, LoadTestResource[], PageSettings>

Parameters

resourceGroupName

string

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

options
LoadTestsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(LoadTestsListBySubscriptionOptionalParams)

Lists loadtests resources in a subscription.

function listBySubscription(options?: LoadTestsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LoadTestResource, LoadTestResource[], PageSettings>

Parameters

options
LoadTestsListBySubscriptionOptionalParams

The options parameters.

Returns

listOutboundNetworkDependenciesEndpoints(string, string, LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams)

Lists the endpoints that agents may call as part of load testing.

function listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, loadTestName: string, options?: LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint, OutboundEnvironmentEndpoint[], PageSettings>

Parameters

resourceGroupName

string

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

loadTestName

string

Load Test name.

Returns