ChaosManagementClient class

Extends

Constructors

ChaosManagementClient(TokenCredential, ChaosManagementClientOptionalParams)
ChaosManagementClient(TokenCredential, string, ChaosManagementClientOptionalParams)

Initializes a new instance of the ChaosManagementClient class.

Properties

$host
apiVersion
capabilities
capabilityTypes
experiments
operations
operationStatuses
subscriptionId
targets
targetTypes

Inherited Properties

pipeline

The pipeline used by this client to make requests

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

ChaosManagementClient(TokenCredential, ChaosManagementClientOptionalParams)

new ChaosManagementClient(credentials: TokenCredential, options?: ChaosManagementClientOptionalParams)

Parameters

credentials
TokenCredential

ChaosManagementClient(TokenCredential, string, ChaosManagementClientOptionalParams)

Initializes a new instance of the ChaosManagementClient class.

new ChaosManagementClient(credentials: TokenCredential, subscriptionId: string, options?: ChaosManagementClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

GUID that represents an Azure subscription ID.

options
ChaosManagementClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

capabilities

capabilities: Capabilities

Property Value

capabilityTypes

capabilityTypes: CapabilityTypes

Property Value

experiments

experiments: Experiments

Property Value

operations

operations: Operations

Property Value

operationStatuses

operationStatuses: OperationStatuses

Property Value

subscriptionId

subscriptionId?: string

Property Value

string

targets

targets: Targets

Property Value

targetTypes

targetTypes: TargetTypes

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest