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.

This is the response object from the StartCapacityTask operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Outposts.Model.StartCapacityTaskResponse

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

Syntax

C#
public class StartCapacityTaskResponse : AmazonWebServiceResponse

The StartCapacityTaskResponse type exposes the following members

Constructors

NameDescription
Public Method StartCapacityTaskResponse()

Properties

NameTypeDescription
Public Property CapacityTaskId System.String

Gets and sets the property CapacityTaskId.

ID of the capacity task that you want to start.

Public Property CapacityTaskStatus Amazon.Outposts.CapacityTaskStatus

Gets and sets the property CapacityTaskStatus.

Status of the specified capacity task.

Public Property CompletionDate System.DateTime

Gets and sets the property CompletionDate.

Date that the specified capacity task ran successfully.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

Date that the specified capacity task was created.

Public Property DryRun System.Boolean

Gets and sets the property DryRun.

Results of the dry run showing if the specified capacity task is above or below the available instance capacity.

Public Property Failed Amazon.Outposts.Model.CapacityTaskFailure

Gets and sets the property Failed.

Reason that the specified capacity task failed.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property InstancesToExclude Amazon.Outposts.Model.InstancesToExclude

Gets and sets the property InstancesToExclude.

User-specified instances that must not be stopped in order to free up the capacity needed to run the capacity task.

Public Property LastModifiedDate System.DateTime

Gets and sets the property LastModifiedDate.

Date that the specified capacity task was last modified.

Public Property OrderId System.String

Gets and sets the property OrderId.

ID of the Amazon Web Services Outposts order of the host associated with the capacity task.

Public Property OutpostId System.String

Gets and sets the property OutpostId.

ID of the Outpost associated with the capacity task.

Public Property RequestedInstancePools System.Collections.Generic.List<Amazon.Outposts.Model.InstanceTypeCapacity>

Gets and sets the property RequestedInstancePools.

List of the instance pools requested in the specified capacity task.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property TaskActionOnBlockingInstances Amazon.Outposts.TaskActionOnBlockingInstances

Gets and sets the property TaskActionOnBlockingInstances.

User-specified option in case an instance is blocking the capacity task from running.

  • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

  • FAIL_TASK - The capacity task fails.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

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