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.

Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.SlotDateTimeRangeRequest

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

Syntax

C#
public class SlotDateTimeRangeRequest

The SlotDateTimeRangeRequest type exposes the following members

Constructors

NameDescription
Public Method SlotDateTimeRangeRequest()

Properties

NameTypeDescription
Public Property EarliestTime System.DateTime

Gets and sets the property EarliestTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use EarliestTimeUtc instead. Setting either EarliestTime or EarliestTimeUtc results in both EarliestTime and EarliestTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. EarliestTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The earliest date and time, in UTC, for the Scheduled Instance to start.

Public Property EarliestTimeUtc System.DateTime

Gets and sets the property EarliestTimeUtc.

The earliest date and time, in UTC, for the Scheduled Instance to start.

Public Property LatestTime System.DateTime

Gets and sets the property LatestTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use LatestTimeUtc instead. Setting either LatestTime or LatestTimeUtc results in both LatestTime and LatestTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. LatestTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

Public Property LatestTimeUtc System.DateTime

Gets and sets the property LatestTimeUtc.

The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

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