community.general.memset_memstore_info – Retrieve Memstore product usage information.
Note
This plugin is part of the community.general collection (version 3.8.3).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.memset_memstore_info
.
Synopsis
Retrieve Memstore product usage information.
This module was called
memset_memstore_facts
before Ansible 2.9. The usage did not change.
Parameters
Parameter |
Comments |
---|---|
The API key obtained from the Memset control panel. |
|
The Memstore product name (i.e. |
Notes
Note
An API key generated via the Memset customer control panel is needed with the following minimum scope - memstore.usage.
Examples
- name: Get usage for mstestyaa1
community.general.memset_memstore_info:
name: mstestyaa1
api_key: 5eb86c9896ab03919abcf03857163741
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Info from the Memset API Returned: always |
|
Dictionary of CDN bandwidth facts Returned: always |
|
Inbound bandwidth for the last 24 hours in bytes Returned: always Sample: 1000 |
|
Outbound bandwidth for the last 24 hours in bytes Returned: always Sample: 1000 |
|
Number of requests in the last 24 hours Returned: always Sample: 10 |
|
Space used in bytes Returned: always Sample: 3860997965 |
|
Dictionary of CDN bandwidth facts Returned: always |
|
Inbound CDN bandwidth for the last 24 hours in bytes Returned: always Sample: 1000 |
|
Outbound CDN bandwidth for the last 24 hours in bytes Returned: always Sample: 1000 |
|
Number of requests in the last 24 hours Returned: always Sample: 10 |
|
Number of containers Returned: always Sample: 10 |
|
Number of objects Returned: always Sample: 1000 |
Authors
Simon Weald (@glitchcrab)