PolicyConfigurationPercentageChangeAtTime Method |
This API is preliminary and subject to change.
Creates a new
PolicyConfiguration for a scaling policy that changes the
desired capacity of a scaling group by a percentage amount at the specified time.
Namespace: net.openstack.Providers.Rackspace.Objects.AutoScaleAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public static PolicyConfiguration PercentageChangeAtTime(
string name,
double changePercentage,
TimeSpan cooldown,
DateTimeOffset time
)
Public Shared Function PercentageChangeAtTime (
name As String,
changePercentage As Double,
cooldown As TimeSpan,
time As DateTimeOffset
) As PolicyConfiguration
public:
static PolicyConfiguration^ PercentageChangeAtTime(
String^ name,
double changePercentage,
TimeSpan cooldown,
DateTimeOffset time
)
static member PercentageChangeAtTime :
name : string *
changePercentage : float *
cooldown : TimeSpan *
time : DateTimeOffset -> PolicyConfiguration
Parameters
- name
- Type: SystemString
The name of scaling policy. - changePercentage
- Type: SystemDouble
The percentage change to apply to the desired capacity for the scaling group. - cooldown
- Type: SystemTimeSpan
The cooldown period for the scaling policy. - time
- Type: SystemDateTimeOffset
The time at which to apply the change.
Return Value
Type:
PolicyConfigurationA
PolicyConfiguration representing the desired scaling policy configuration.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also