Parameter |
Choices/Defaults |
Comments |
api_key
|
|
Rackspace API key, overrides credentials.
aliases: password
|
at
|
|
The UTC time when this policy will be executed. The time must be formatted according to yyyy-MM-dd'T'HH:mm:ss.SSS such as 2013-05-19T08:07:08Z
|
auth_endpoint
(added in 1.5) |
Default:
"https://identity.api.rackspacecloud.com/v2.0/"
|
The URI of the authentication service.
|
change
|
|
The change, either as a number of servers or as a percentage, to make in the scaling group. If this is a percentage, you must set is_percent to true also.
|
cooldown
|
|
The period of time, in seconds, that must pass before any scaling can occur after the previous scaling. Must be an integer between 0 and 86400 (24 hrs).
|
credentials
|
|
File to find the Rackspace credentials in. Ignored if api_key and username are provided.
aliases: creds_file
|
cron
|
|
The time when the policy will be executed, as a cron entry. For example, if this is parameter is set to 1 0 * * *
|
desired_capacity
|
|
The desired server capacity of the scaling the group; that is, how many servers should be in the scaling group.
|
env
(added in 1.5) |
|
|
identity_type
(added in 1.5) |
Default:
"rackspace"
|
Authentication mechanism to use, such as rackspace or keystone.
|
is_percent
|
Default:
"no"
|
Whether the value in change is a percent value
|
name
required |
|
Name to give the policy
|
policy_type
required |
Choices:
- webhook
- schedule
|
The type of policy that will be executed for the current release.
|
region
|
Default:
"DFW"
|
Region to create an instance in.
|
scaling_group
required |
|
Name of the scaling group that this policy will be added to
|
state
|
Choices:
present ←
- absent
|
Indicate desired state of the resource
|
tenant_id
(added in 1.5) |
|
The tenant ID used for authentication.
|
tenant_name
(added in 1.5) |
|
The tenant name used for authentication.
|
username
|
|
Rackspace username, overrides credentials.
|
verify_ssl
(added in 1.5) |
|
Whether or not to require SSL validation of API endpoints.
|