Share via


LoadTestAdministrationClient.DeleteTestProfile(String, RequestContext) Method

Definition

[Protocol Method] Delete a test profile.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response DeleteTestProfile(string testProfileId, Azure.RequestContext context = default);
abstract member DeleteTestProfile : string * Azure.RequestContext -> Azure.Response
override this.DeleteTestProfile : string * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteTestProfile (testProfileId As String, Optional context As RequestContext = Nothing) As Response

Parameters

testProfileId
String

Unique identifier for the test profile, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

testProfileId is null.

testProfileId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to