Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the DedicatedHostInstanceView class.
 /// </summary>
 /// <param name="assetId">Specifies the unique id of the dedicated
 /// physical machine on which the dedicated host resides.</param>
 /// <param name="availableCapacity">Unutilized capacity of the
 /// dedicated host.</param>
 /// <param name="statuses">The resource status information.</param>
 public DedicatedHostInstanceView(string assetId = default(string), DedicatedHostAvailableCapacity availableCapacity = default(DedicatedHostAvailableCapacity), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>))
 {
     AssetId           = assetId;
     AvailableCapacity = availableCapacity;
     Statuses          = statuses;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the DedicatedHostInstanceViewWithName
 /// class.
 /// </summary>
 /// <param name="assetId">Specifies the unique id of the dedicated
 /// physical machine on which the dedicated host resides.</param>
 /// <param name="availableCapacity">Unutilized capacity of the
 /// dedicated host.</param>
 /// <param name="statuses">The resource status information.</param>
 /// <param name="name">The name of the dedicated host.</param>
 public DedicatedHostInstanceViewWithName(string assetId = default(string), DedicatedHostAvailableCapacity availableCapacity = default(DedicatedHostAvailableCapacity), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>), string name = default(string))
     : base(assetId, availableCapacity, statuses)
 {
     Name = name;
     CustomInit();
 }