netapp.aws.aws_netapp_cvs_pool – NetApp AWS Cloud Volumes Service Manage Pools.
Note
This plugin is part of the netapp.aws collection (version 21.7.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 netapp.aws
.
To use it in a playbook, specify: netapp.aws.aws_netapp_cvs_pool
.
New in version 2.9.0: of netapp.aws
Parameters
Parameter |
Comments |
---|---|
The access key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
The url to the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
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. |
|
rename the existing pool name ( The human readable name of the Pool ) from_name is the existing name, and name the new name can be used with update operation |
|
pool name ( The human readable name of the Pool ) name can be used for create, update and delete operations |
|
The region to which the Pool is associated. |
|
The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
The service level of the Pool can be used with pool create, update operations Choices:
|
|
Size of the Pool in bytes can be used with pool create, update operations minimum value is 4000000000000 bytes |
|
Whether the specified pool should exist or not. Choices:
|
|
Should https certificates be validated? Choices:
|
|
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 |
Notes
Note
The modules prefixed with aws_cvs_netapp are built to Manage AWS Cloud Volumes Service .
Examples
- 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
- 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
- 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
Authors
NetApp Ansible Team (@carchi8py) <ng-ansibleteam@netapp.com>