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 properties of the Dedicated Host.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.Host

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

Syntax

C#
public class Host

The Host type exposes the following members

Constructors

NameDescription
Public Method Host()

Properties

NameTypeDescription
Public Property AllocationTime System.DateTime

Gets and sets the property AllocationTime.

The time that the Dedicated Host was allocated.

Public Property AllowsMultipleInstanceTypes Amazon.EC2.AllowsMultipleInstanceTypes

Gets and sets the property AllowsMultipleInstanceTypes.

Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

Public Property AssetId System.String

Gets and sets the property AssetId.

The ID of the Outpost hardware asset on which the Dedicated Host is allocated.

Public Property AutoPlacement Amazon.EC2.AutoPlacement

Gets and sets the property AutoPlacement.

Whether auto-placement is on or off.

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the Dedicated Host.

Public Property AvailabilityZoneId System.String

Gets and sets the property AvailabilityZoneId.

The ID of the Availability Zone in which the Dedicated Host is allocated.

Public Property AvailableCapacity Amazon.EC2.Model.AvailableCapacity

Gets and sets the property AvailableCapacity.

Information about the instances running on the Dedicated Host.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Public Property HostId System.String

Gets and sets the property HostId.

The ID of the Dedicated Host.

Public Property HostMaintenance Amazon.EC2.HostMaintenance

Gets and sets the property HostMaintenance.

Indicates whether host maintenance is enabled or disabled for the Dedicated Host.

Public Property HostProperties Amazon.EC2.Model.HostProperties

Gets and sets the property HostProperties.

The hardware specifications of the Dedicated Host.

Public Property HostRecovery Amazon.EC2.HostRecovery

Gets and sets the property HostRecovery.

Indicates whether host recovery is enabled or disabled for the Dedicated Host.

Public Property HostReservationId System.String

Gets and sets the property HostReservationId.

The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

Public Property Instances System.Collections.Generic.List<Amazon.EC2.Model.HostInstance>

Gets and sets the property Instances.

The IDs and instance type that are currently running on the Dedicated Host.

Public Property MemberOfServiceLinkedResourceGroup System.Boolean

Gets and sets the property MemberOfServiceLinkedResourceGroup.

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

Public Property OutpostArn System.String

Gets and sets the property OutpostArn.

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

The ID of the Amazon Web Services account that owns the Dedicated Host.

Public Property ReleaseTime System.DateTime

Gets and sets the property ReleaseTime.

The time that the Dedicated Host was released.

Public Property State Amazon.EC2.AllocationState

Gets and sets the property State.

The Dedicated Host's state.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

Any tags assigned to the Dedicated Host.

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