netapp.aws.aws_netapp_cvs_snapshots module – NetApp AWS Cloud Volumes Service Manage Snapshots.
Note
This module is part of the netapp.aws collection (version 21.7.1).
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_snapshots
.
New in netapp.aws 2.9.0
Synopsis
Create, Update, Delete Snapshot on AWS Cloud Volumes Service.
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. |
|
Name or Id of the filesystem. Required for create operation |
|
ID or Name of the snapshot to rename. Required to create an snapshot called ‘name’ by renaming ‘from_name’. |
|
Name of the snapshot |
|
The region to which the snapshot belongs to. |
|
The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
Whether the specified snapshot should exist or not. Choices:
|
|
Should https certificates be validated? Choices:
|
Notes
Note
The modules prefixed with aws\_cvs\_netapp are built to Manage AWS Cloud Volumes Service .
Examples
- name: Create Snapshot
aws_netapp_cvs_snapshots:
state: present
region: us-east-1
name: testSnapshot
fileSystemId: testVolume
api_url : cds-aws-bundles.netapp.com
api_key: myApiKey
secret_key : mySecretKey
- name: Update Snapshot
aws_netapp_cvs_snapshots:
state: present
region: us-east-1
name: testSnapshot - renamed
from_name: testSnapshot
fileSystemId: testVolume
api_url : cds-aws-bundles.netapp.com
api_key: myApiKey
secret_key : mySecretKey
- name: Delete Snapshot
aws_netapp_cvs_snapshots:
state: absent
region: us-east-1
name: testSnapshot
api_url : cds-aws-bundles.netapp.com
api_key: myApiKey
secret_key : mySecretKey