ansible.builtin.memset_memstore_info (v2.9.27) — module

Retrieve Memstore product usage information.

| "added in version" 2.8 of ansible.builtin"

Authors: Simon Weald (@glitchcrab)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Retrieve Memstore product usage information.

This module was called C(memset_memstore_facts) before Ansible 2.9. The usage did not change.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get usage for mstestyaa1
  memset_memstore_info:
    name: mstestyaa1
    api_key: 5eb86c9896ab03919abcf03857163741
  delegate_to: localhost

Inputs

    
name:
    description:
    - The Memstore product name (i.e. C(mstestyaa1)).
    required: true

api_key:
    description:
    - The API key obtained from the Memset control panel.
    required: true

Outputs

memset_api:
  contains:
    bandwidth:
      contains:
        bytes_in:
          description: Inbound bandwidth for the last 24 hours in bytes
          returned: always
          sample: 1000
          type: int
        bytes_out:
          description: Outbound bandwidth for the last 24 hours in bytes
          returned: always
          sample: 1000
          type: int
        requests:
          description: Number of requests in the last 24 hours
          returned: always
          sample: 10
          type: int
      description: Dictionary of CDN bandwidth facts
      returned: always
      type: complex
    bytes:
      description: Space used in bytes
      returned: always
      sample: 3860997965
      type: int
    cdn_bandwidth:
      contains:
        bytes_in:
          description: Inbound CDN bandwidth for the last 24 hours in bytes
          returned: always
          sample: 1000
          type: int
        bytes_out:
          description: Outbound CDN bandwidth for the last 24 hours in bytes
          returned: always
          sample: 1000
          type: int
        requests:
          description: Number of requests in the last 24 hours
          returned: always
          sample: 10
          type: int
      description: Dictionary of CDN bandwidth facts
      returned: always
      type: complex
    containers:
      description: Number of containers
      returned: always
      sample: 10
      type: int
    objs:
      description: Number of objects
      returned: always
      sample: 1000
      type: int
  description: Info from the Memset API
  returned: always
  type: complex