action bluemix_get_containers_usage { label: "List container sizes and quota limits" description: "This endpoint returns a list of available container sizes and the quota limit and usage for the space. \n\n- Container sizes: A list of available container sizes indicating the amount of container memory, disk space and virtual CPUs that can be assigned to the container.\n- Quota limit: Lists the number of containers, public IP addresses, available container memory, and virtual CPUS that are allocated to a space. \n- Quota usage: Lists the current number of containers, images, and public IP addresses in a space that is counted towards your quota limit. " provider: bluemix method: GET path: "/containers/usage" encoding: json input: { type: "object" properties: { "X-Auth-Project-Id": { type: "string" } "X-Auth-Token": { type: "string" } } required: ["X-Auth-Project-Id", "X-Auth-Token"] additionalProperties: false } output: { properties: { AvailableSizes: { type: "array" items: { properties: { disk: { type: "integer" format: "int32" description: "The amount of disk space on the compute host that is assigned to the container in gigabyte" } id: { type: "string" description: "The ID of the container size." } memory_MB: { type: "integer" format: "int32" description: "The amount of container memory on the compute host that is assigned to the container in megabyte." } name: { type: "string" description: "The IBM Containers name of the container size." } vcpus: { type: "integer" format: "int32" description: "The number of virtual CPUs that can be assigned to the container." } } } } Environment: { type: "string" description: "The IBM Containers machine where the space is located" } Limits: { type: "object" properties: { containers: { type: "integer" format: "int32" description: "The number of containers that can be created in the space. If -1 is returned, then an unlimited number of containers can be created. The number however is counted towards and limited by the container memory. " } floating_ips: { type: "integer" format: "int32" description: "The number of public IP addresses that can be allocated to the space." } memory_MB: { type: "integer" format: "int32" description: "The amount of container memory that can be used in the space in megabyte." } vcpu: { type: "integer" format: "int32" description: "The number of virtual CPUs that are assigned to the space." } } } Usage: { type: "object" properties: { containers: { type: "integer" format: "int32" description: "The number of containers that were created in the space. All containers that count towards the quota limit are listed independent on their current state." } floating_ips: { type: "integer" format: "int32" description: "The number of public IP addresses that are allocated to the space." } floating_ips_bound: { type: "integer" format: "int32" description: "The number of public IP addresses that are bound to a container in the space." } images: { type: "integer" format: "int32" description: "The number of private images that were added to the private Bluemix registry." } memory_MB: { type: "integer" format: "int32" description: "The amount of container memory that is already used by the containers that were created in the space in megabyte." } running: { type: "integer" format: "int32" description: "The number of containers that are currently in a running state." } vcpu: { type: "integer" format: "int32" description: "The number of virtual CPUs that are allocated to the space." } } } } } }