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 DescribeScheduledInstanceAvailability operation. Finds available schedules that meet the specified criteria.

You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeScheduledInstanceAvailabilityRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The DescribeScheduledInstanceAvailabilityRequest 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.

The filters.

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

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

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

Public Property FirstSlotStartTimeRange Amazon.EC2.Model.SlotDateTimeRangeRequest

Gets and sets the property FirstSlotStartTimeRange.

The time period for the first schedule to start.

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 300. To retrieve the remaining results, make another call with the returned NextToken value.

Public Property MaxSlotDurationInHours System.Int32

Gets and sets the property MaxSlotDurationInHours.

The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours and less than 1,720.

Public Property MinSlotDurationInHours System.Int32

Gets and sets the property MinSlotDurationInHours.

The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of results.

Public Property Recurrence Amazon.EC2.Model.ScheduledInstanceRecurrenceRequest

Gets and sets the property Recurrence.

The schedule recurrence.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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