netapp.aws.aws_netapp_cvs_pool (21.7.1) — module

NetApp AWS Cloud Volumes Service Manage Pools.

| "added in version" 2.9.0 of netapp.aws"

Authors: NetApp Ansible Team (@carchi8py) <ng-ansibleteam@netapp.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install netapp.aws:==21.7.1


Add to requirements.yml

  collections:
    - name: netapp.aws
      version: 21.7.1

Description

Create, Update, Delete Pool on AWS Cloud Volumes Service.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a new Pool
  aws_netapp_cvs_pool:
    state: present
    name: TestPoolBB12
    serviceLevel: extreme
    sizeInBytes: 4000000000000
    vendorID: ansiblePoolTestVendorBB12
    region: us-east-1
    api_url: cds-aws-bundles.netapp.com
    api_key: MyAPiKey
    secret_key: MySecretKey
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete a Pool
  aws_netapp_cvs_pool:
    state: absent
    name: TestPoolBB7
    region: us-east-1
    api_url: cds-aws-bundles.netapp.com
    api_key: MyAPiKey
    secret_key: MySecretKey
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update a Pool
  aws_netapp_cvs_pool:
    state: present
    from_name: TestPoolBB12
    name: Mynewpool7
    vendorID: ansibleVendorMynewpool15
    serviceLevel: extreme
    sizeInBytes: 4000000000000
    region: us-east-1
    api_url: cds-aws-bundles.netapp.com
    api_key: MyAPiKey
    secret_key: MySecretKey

Inputs

    
name:
    description:
    - pool name ( The human readable name of the Pool )
    - name can be used for create, update and delete operations
    required: true
    type: str

state:
    choices:
    - present
    - absent
    description:
    - Whether the specified pool should exist or not.
    required: true
    type: str

region:
    description:
    - The region to which the Pool is associated.
    required: true
    type: str

api_key:
    description:
    - The access key to authenticate with the AWSCVS Web Services Proxy or Embedded Web
      Services API.
    required: true
    type: str

api_url:
    description:
    - The url to the AWSCVS Web Services Proxy or Embedded Web Services API.
    required: true
    type: str

vendorID:
    description:
    - A vendor ID for the Pool. E.g. an ID allocated by a vendor service for the Pool.
    - can be used with pool create, update operations
    - must be unique
    type: str

from_name:
    description:
    - rename the existing pool name ( The human readable name of the Pool )
    - I(from_name) is the existing name, and I(name) the new name
    - can be used with update operation
    type: str

secret_key:
    description:
    - The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web
      Services API.
    required: true
    type: str

sizeInBytes:
    description:
    - Size of the Pool in bytes
    - can be used with pool create, update operations
    - minimum value is 4000000000000 bytes
    type: int

serviceLevel:
    choices:
    - basic
    - standard
    - extreme
    description:
    - The service level of the Pool
    - can be used with pool create, update operations
    type: str

feature_flags:
    description:
    - Enable or disable a new feature.
    - This can be used to enable an experimental feature or disable a new feature that
      breaks backward compatibility.
    - Supported keys and values are subject to change without notice.  Unknown keys are
      ignored.
    - trace_apis can be set to true to enable tracing, data is written to /tmp/um_apis.log.
    type: dict
    version_added: 21.6.0
    version_added_collection: netapp.aws

validate_certs:
    default: true
    description:
    - Should https certificates be validated?
    required: false
    type: bool