netapp.aws.aws_netapp_cvs_snapshots (21.7.1) — module

NetApp AWS Cloud Volumes Service Manage Snapshots.

| "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 Snapshot on AWS Cloud Volumes Service.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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

Inputs

    
name:
    description:
    - Name of the snapshot
    required: true
    type: str

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

region:
    description:
    - The region to which the snapshot belongs to.
    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

from_name:
    description:
    - ID or Name of the snapshot to rename.
    - Required to create an snapshot called 'name' by renaming 'from_name'.
    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

fileSystemId:
    description:
    - Name or Id of the filesystem.
    - Required for create operation
    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