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.

Details about the Dedicated Host Reservation offering.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.HostOffering

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

Syntax

C#
public class HostOffering

The HostOffering type exposes the following members

Constructors

NameDescription
Public Method HostOffering()

Properties

NameTypeDescription
Public Property CurrencyCode Amazon.EC2.CurrencyCodeValues

Gets and sets the property CurrencyCode.

The currency of the offering.

Public Property Duration System.Int32

Gets and sets the property Duration.

The duration of the offering (in seconds).

Public Property HourlyPrice System.String

Gets and sets the property HourlyPrice.

The hourly price of the offering.

Public Property InstanceFamily System.String

Gets and sets the property InstanceFamily.

The instance family of the offering.

Public Property OfferingId System.String

Gets and sets the property OfferingId.

The ID of the offering.

Public Property PaymentOption Amazon.EC2.PaymentOption

Gets and sets the property PaymentOption.

The available payment option.

Public Property UpfrontPrice System.String

Gets and sets the property UpfrontPrice.

The upfront price of the offering. Does not apply to No Upfront offerings.

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