community.general.memset_memstore_info module – Retrieve Memstore product usage information
Note
This module is part of the community.general collection (version 10.1.0).
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.
Parameters
Parameter |
Comments |
---|---|
The API key obtained from the Memset control panel. |
|
The Memstore product name (that is, |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full added in community.general 3.3.0 This action does not modify state. |
Can run in |
|
Support: N/A This action does not modify state. |
Will return details on what has changed (or possibly needs changing in |
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: |
|
Outbound bandwidth for the last 24 hours in bytes Returned: always Sample: |
|
Number of requests in the last 24 hours Returned: always Sample: |
|
Space used in bytes Returned: always Sample: |
|
Dictionary of CDN bandwidth facts Returned: always |
|
Inbound CDN bandwidth for the last 24 hours in bytes Returned: always Sample: |
|
Outbound CDN bandwidth for the last 24 hours in bytes Returned: always Sample: |
|
Number of requests in the last 24 hours Returned: always Sample: |
|
Number of containers Returned: always Sample: |
|
Number of objects Returned: always Sample: |