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.
Describes the running instances for the specified Spot Fleet.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeSpotFleetInstancesAsync.
Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public virtual DescribeSpotFleetInstancesResponse DescribeSpotFleetInstances( DescribeSpotFleetInstancesRequest request )
Container for the necessary parameters to execute the DescribeSpotFleetInstances service method.
This example lists the Spot Instances associated with the specified Spot fleet.
var client = new AmazonEC2Client(); var response = client.DescribeSpotFleetInstances(new DescribeSpotFleetInstancesRequest { SpotFleetRequestId = "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" }); List<ActiveInstance> activeInstances = response.ActiveInstances; string spotFleetRequestId = response.SpotFleetRequestId;
.NET Framework:
Supported in: 4.5 and newer, 3.5