Click or drag to resize
GroupConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the GroupConfiguration class with the specified values.

Namespace: net.openstack.Providers.Rackspace.Objects.AutoScale
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public GroupConfiguration(
	string name,
	TimeSpan cooldown,
	int minEntities,
	Nullable<int> maxEntities,
	JObject metadata
)

Parameters

name
Type: SystemString
The name of the scaling group.
cooldown
Type: SystemTimeSpan
The cooldown period of the scaling group.
minEntities
Type: SystemInt32
The minimum number of servers to include in the scaling group.
maxEntities
Type: SystemNullableInt32
The maximum number of servers to include in the scaling group.
metadata
Type: Newtonsoft.Json.LinqJObject
The metadata to associate with the scaling group.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is .
ArgumentException If name is empty.

-or-

If maxEntities is less than minEntities.

ArgumentOutOfRangeException If cooldown is less than Zero.

-or-

If minEntities is less than 0.

-or-

If maxEntities is less than 0.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also