The Limits
class inherits from Resource
.
openstack.compute.v2.limits.
Limits
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
get
(session, args=None, include_headers=False)¶Get the Limits resource.
Parameters: |
|
---|---|
Returns: | A Limits instance |
Return type: |
The AbsoluteLimits
class inherits from Resource
.
openstack.compute.v2.limits.
AbsoluteLimits
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
image_meta
= None¶The number of key-value pairs that can be set as image metadata.
personality
= None¶The maximum number of personality contents that can be supplied.
personality_size
= None¶The maximum size, in bytes, of a personality.
security_group_rules
= None¶The maximum amount of security group rules allowed.
security_groups
= None¶The maximum amount of security groups allowed.
security_groups_used
= None¶The amount of security groups currently in use.
server_meta
= None¶The number of key-value pairs that can be set as sever metadata.
total_cores
= None¶The maximum amount of cores.
total_cores_used
= None¶The amount of cores currently in use.
floating_ips
= None¶The maximum amount of floating IPs.
floating_ips_used
= None¶The amount of floating IPs currently in use.
instances
= None¶The maximum amount of instances.
instances_used
= None¶The amount of instances currently in use.
keypairs
= None¶The maximum amount of keypairs.
total_ram
= None¶The maximum RAM size in megabytes.
total_ram_used
= None¶The RAM size in megabytes currently in use.
server_groups
= None¶The maximum amount of server groups.
server_groups_used
= None¶The amount of server groups currently in use.
server_group_members
= None¶The maximum number of members in a server group.
The RateLimits
class inherits from Resource
.
openstack.compute.v2.limits.
RateLimits
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
limits
= None¶A list of the specific limits that apply to the regex
and uri
.
regex
= None¶A regex representing which routes this rate limit applies to.
uri
= None¶A URI representing which routes this rate limit applies to.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.