AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Adds a workload to a component. Each component can have at most five workloads.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to AddWorkloadAsync.

Namespace: Amazon.ApplicationInsights
Assembly: AWSSDK.ApplicationInsights.dll
Version: 3.x.y.z

Syntax

C#
public virtual AddWorkloadResponse AddWorkload(
         AddWorkloadRequest request
)

Parameters

request
Type: Amazon.ApplicationInsights.Model.AddWorkloadRequest

Container for the necessary parameters to execute the AddWorkload service method.

Return Value


The response from the AddWorkload service method, as returned by ApplicationInsights.

Exceptions

ExceptionCondition
InternalServerException The server encountered an internal error and is unable to complete the request.
ResourceInUseException The resource is already created or in use.
ResourceNotFoundException The resource does not exist in the customer account.
ValidationException The parameter is not valid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also