/// <summary>
 /// Instantiates InstanceGroupDetail with the parameterized properties
 /// </summary>
 /// <param name="instanceRole">Instance group role in the cluster</param>
 /// <param name="instanceType">EC2 instance type.</param>
 /// <param name="instanceRequestCount">Target number of instances to run in the instance group.</param>
 /// <param name="instanceRunningCount">Actual count of running instances.</param>
 /// <param name="state">State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</param>
 /// <param name="creationDateTime">The date/time the instance group was created.</param>
 public InstanceGroupDetail(InstanceRoleType instanceRole, string instanceType, int instanceRequestCount, int instanceRunningCount, InstanceGroupState state, DateTime creationDateTime)
 {
     _instanceRole         = instanceRole;
     _instanceType         = instanceType;
     _instanceRequestCount = instanceRequestCount;
     _instanceRunningCount = instanceRunningCount;
     _state            = state;
     _creationDateTime = creationDateTime;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiates InstanceGroupDetail with the parameterized properties
 /// </summary>
 /// <param name="instanceRole">Instance group role in the cluster</param>
 /// <param name="instanceType">EC2 instance type.</param>
 /// <param name="instanceRequestCount">Target number of instances to run in the instance group.</param>
 /// <param name="instanceRunningCount">Actual count of running instances.</param>
 /// <param name="state">State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</param>
 /// <param name="creationDateTime">The date/time the instance group was created.</param>
 public InstanceGroupDetail(InstanceRoleType instanceRole, string instanceType, int instanceRequestCount, int instanceRunningCount, InstanceGroupState state, DateTime creationDateTime)
 {
     _instanceRole = instanceRole;
     _instanceType = instanceType;
     _instanceRequestCount = instanceRequestCount;
     _instanceRunningCount = instanceRunningCount;
     _state = state;
     _creationDateTime = creationDateTime;
 }