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.

Container for the parameters to the DescribeScheduledInstances operation. Describes one or more of your Scheduled Instances.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.DescribeScheduledInstancesRequest

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

Syntax

C#
public class DescribeScheduledInstancesRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The DescribeScheduledInstancesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Filters System.Collections.Generic.List<Amazon.EC2.Model.Filter>

Gets and sets the property Filters.

One or more filters.

  • availability-zone - The Availability Zone (for example, us-west-2a).

  • instance-type - The instance type (for example, c4.large).

  • network-platform - The network platform (EC2-Classic or EC2-VPC).

  • platform - The platform (Linux/UNIX or Windows).

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of results.

Public Property ScheduledInstanceIds System.Collections.Generic.List<System.String>

Gets and sets the property ScheduledInstanceIds.

One or more Scheduled Instance IDs.

Public Property SlotStartTimeRange Amazon.EC2.Model.SlotStartTimeRangeRequest

Gets and sets the property SlotStartTimeRange.

The time period for the first schedule to start.

Examples

This example describes the specified Scheduled Instance.

To describe your Scheduled Instances


var response = client.DescribeScheduledInstances(new DescribeScheduledInstancesRequest 
{
    ScheduledInstanceIds = new List {
        "sci-1234-1234-1234-1234-123456789012"
    }
});

List scheduledInstanceSet = response.ScheduledInstanceSet;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms