C# Class RightScale.netClient.DataCenterPolicy

Object containing DataCenter Policy information for ServerArray Configurations
Show file Open project: rs-services/RightScaleNetAPI

Public Properties

Property Type Description
cloudID string
dataCenterId string
max string
weight string

Public Methods

Method Description
DataCenterPolicy ( DataCenter dataCenter, string Max, string Weight ) : System

Constructor that accepts a DataCenter object, and a max and min constraint for a DataCenterPolicy object

DataCenterPolicy ( string CloudID, string DataCenterID, string Max, string Weight ) : System

Fully qualified constructor for DataCenterPolicy

Method Details

DataCenterPolicy() public method

Constructor that accepts a DataCenter object, and a max and min constraint for a DataCenterPolicy object
public DataCenterPolicy ( DataCenter dataCenter, string Max, string Weight ) : System
dataCenter DataCenter DataCenter Object to which this policy applies
Max string Maximum number of instances
Weight string Instance Allocation (total should be 100%)
return System

DataCenterPolicy() public method

Fully qualified constructor for DataCenterPolicy
public DataCenterPolicy ( string CloudID, string DataCenterID, string Max, string Weight ) : System
CloudID string
DataCenterID string ID of the DataCenter
Max string Maximum number of instances
Weight string Instance Allocation (total should be 100%)
return System

Property Details

cloudID public property

ID of the cloud where the DataCenter resides
public string cloudID
return string

dataCenterId public property

ID of the DataCenter
public string dataCenterId
return string

max public property

Maximum number of instances (0 for unlimited)
public string max
return string

weight public property

Instance allocation (total should be 100%)
public string weight
return string