Module Values.HostInfoForCreateSource

An object that represents a host. You cannot use dedicatedHostId and placementGroupId together in the same HostInfoForCreateobject. This results in a ValidationException response.

Sourcetype nonrec t = {
  1. hostName : HostName.t;
    (*

    The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.

    *)
  2. keyName : KeyName.t;
    (*

    The name of the SSH key that is used to access the host.

    *)
  3. instanceType : InstanceType.t;
    (*

    The EC2 instance type that represents the host.

    *)
  4. placementGroupId : PlacementGroupId.t option;
    (*

    The unique ID of the placement group where the host is placed.

    *)
  5. dedicatedHostId : DedicatedHostId.t option;
    (*

    The unique ID of the Amazon EC2 Dedicated Host.

    *)
}
Sourceval context_ : string
Sourceval make : ?placementGroupId:??? -> ?dedicatedHostId:??? -> hostName:HostName.t -> keyName:KeyName.t -> instanceType:InstanceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of HostName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t