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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class Host
The Host type exposes the following members
Name | Description | |
---|---|---|
![]() |
Host() |
Name | Type | Description | |
---|---|---|---|
![]() |
AllocationTime | System.Nullable<System.DateTime> |
Gets and sets the property AllocationTime. The time that the Dedicated Host was allocated. |
![]() |
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 |
![]() |
AssetId | System.String |
Gets and sets the property AssetId. The ID of the Outpost hardware asset on which the Dedicated Host is allocated. |
![]() |
AutoPlacement | Amazon.EC2.AutoPlacement |
Gets and sets the property AutoPlacement. Whether auto-placement is on or off. |
![]() |
AvailabilityZone | System.String |
Gets and sets the property AvailabilityZone. The Availability Zone of the Dedicated Host. |
![]() |
AvailabilityZoneId | System.String |
Gets and sets the property AvailabilityZoneId. The ID of the Availability Zone in which the Dedicated Host is allocated. |
![]() |
AvailableCapacity | Amazon.EC2.Model.AvailableCapacity |
Gets and sets the property AvailableCapacity. Information about the instances running on the Dedicated Host. |
![]() |
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. |
![]() |
HostId | System.String |
Gets and sets the property HostId. The ID of the Dedicated Host. |
![]() |
HostMaintenance | Amazon.EC2.HostMaintenance |
Gets and sets the property HostMaintenance. Indicates whether host maintenance is enabled or disabled for the Dedicated Host. |
![]() |
HostProperties | Amazon.EC2.Model.HostProperties |
Gets and sets the property HostProperties. The hardware specifications of the Dedicated Host. |
![]() |
HostRecovery | Amazon.EC2.HostRecovery |
Gets and sets the property HostRecovery. Indicates whether host recovery is enabled or disabled for the Dedicated Host. |
![]() |
HostReservationId | System.String |
Gets and sets the property HostReservationId.
The reservation ID of the Dedicated Host. This returns a |
![]() |
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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
MemberOfServiceLinkedResourceGroup | System.Nullable<System.Boolean> |
Gets and sets the property MemberOfServiceLinkedResourceGroup.
Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup
is |
![]() |
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. |
![]() |
OwnerId | System.String |
Gets and sets the property OwnerId. The ID of the Amazon Web Services account that owns the Dedicated Host. |
![]() |
ReleaseTime | System.Nullable<System.DateTime> |
Gets and sets the property ReleaseTime. The time that the Dedicated Host was released. |
![]() |
State | Amazon.EC2.AllocationState |
Gets and sets the property State. The Dedicated Host's state. |
![]() |
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. Any tags assigned to the Dedicated Host. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer