LoadTestsClient Interface

public interface LoadTestsClient

An instance of this class provides access to all the operations defined in LoadTestsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginCreateOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource)

Create a LoadTestResource.

abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginCreateOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource, Context context)

Create a LoadTestResource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadTestName)

Delete a LoadTestResource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadTestName, Context context)

Delete a LoadTestResource.

abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginUpdate(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties)

Update a LoadTestResource.

abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginUpdate(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties, Context context)

Update a LoadTestResource.

abstract LoadTestResourceInner createOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource)

Create a LoadTestResource.

abstract LoadTestResourceInner createOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource, Context context)

Create a LoadTestResource.

abstract void delete(String resourceGroupName, String loadTestName)

Delete a LoadTestResource.

abstract void delete(String resourceGroupName, String loadTestName, Context context)

Delete a LoadTestResource.

abstract LoadTestResourceInner getByResourceGroup(String resourceGroupName, String loadTestName)

Get a LoadTestResource.

abstract Response<LoadTestResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String loadTestName, Context context)

Get a LoadTestResource.

abstract PagedIterable<LoadTestResourceInner> list()

List LoadTestResource resources by subscription ID.

abstract PagedIterable<LoadTestResourceInner> list(Context context)

List LoadTestResource resources by subscription ID.

abstract PagedIterable<LoadTestResourceInner> listByResourceGroup(String resourceGroupName)

List LoadTestResource resources by resource group.

abstract PagedIterable<LoadTestResourceInner> listByResourceGroup(String resourceGroupName, Context context)

List LoadTestResource resources by resource group.

abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String loadTestName)

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

abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String loadTestName, Context context)

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

abstract LoadTestResourceInner update(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties)

Update a LoadTestResource.

abstract LoadTestResourceInner update(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties, Context context)

Update a LoadTestResource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginCreateOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource)

Create a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
resource - Resource create parameters.

Returns:

the SyncPoller<T,U> for polling of loadTest details.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginCreateOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource, Context context)

Create a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of loadTest details.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadTestName)

Delete a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadTestName, Context context)

Delete a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginUpdate(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties)

Update a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
properties - The resource properties to be updated.

Returns:

the SyncPoller<T,U> for polling of loadTest details.

beginUpdate

public abstract SyncPoller<PollResult<LoadTestResourceInner>,LoadTestResourceInner> beginUpdate(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties, Context context)

Update a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
properties - The resource properties to be updated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of loadTest details.

createOrUpdate

public abstract LoadTestResourceInner createOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource)

Create a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
resource - Resource create parameters.

Returns:

loadTest details.

createOrUpdate

public abstract LoadTestResourceInner createOrUpdate(String resourceGroupName, String loadTestName, LoadTestResourceInner resource, Context context)

Create a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

loadTest details.

delete

public abstract void delete(String resourceGroupName, String loadTestName)

Delete a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.

delete

public abstract void delete(String resourceGroupName, String loadTestName, Context context)

Delete a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
context - The context to associate with this operation.

getByResourceGroup

public abstract LoadTestResourceInner getByResourceGroup(String resourceGroupName, String loadTestName)

Get a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.

Returns:

a LoadTestResource.

getByResourceGroupWithResponse

public abstract Response<LoadTestResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String loadTestName, Context context)

Get a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
context - The context to associate with this operation.

Returns:

a LoadTestResource along with Response<T>.

list

public abstract PagedIterable<LoadTestResourceInner> list()

List LoadTestResource resources by subscription ID.

Returns:

the response of a LoadTestResource list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<LoadTestResourceInner> list(Context context)

List LoadTestResource resources by subscription ID.

Parameters:

context - The context to associate with this operation.

Returns:

the response of a LoadTestResource list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<LoadTestResourceInner> listByResourceGroup(String resourceGroupName)

List LoadTestResource resources by resource group.

Parameters:

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

Returns:

the response of a LoadTestResource list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<LoadTestResourceInner> listByResourceGroup(String resourceGroupName, Context context)

List LoadTestResource resources by resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the response of a LoadTestResource list operation as paginated response with PagedIterable<T>.

listOutboundNetworkDependenciesEndpoints

public abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String loadTestName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.

Returns:

values returned by the List operation as paginated response with PagedIterable<T>.

listOutboundNetworkDependenciesEndpoints

public abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String loadTestName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
context - The context to associate with this operation.

Returns:

values returned by the List operation as paginated response with PagedIterable<T>.

update

public abstract LoadTestResourceInner update(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties)

Update a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
properties - The resource properties to be updated.

Returns:

loadTest details.

update

public abstract LoadTestResourceInner update(String resourceGroupName, String loadTestName, LoadTestResourcePatchRequestBody properties, Context context)

Update a LoadTestResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
loadTestName - Load Test name.
properties - The resource properties to be updated.
context - The context to associate with this operation.

Returns:

loadTest details.

Applies to