W3cubDocs

/Ansible 2.9

aws_netapp_cvs_FileSystems – NetApp AWS Cloud Volumes Service Manage FileSystem

New in version 2.9.

Synopsis

  • Create, Update, Delete fileSystem on AWS Cloud Volumes Service.

Parameters

Parameter Choices/Defaults Comments
api_key
string / required
The access key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API.
api_url
string / required
The url to the AWSCVS Web Services Proxy or Embedded Web Services API.
creationToken
string / required
Name of the filesystem
exportPolicy
dictionary
The policy rules to export the filesystem
rules
list
Set of rules to export the filesystem
Requires allowedClients, access and protocol
allowedClients
string
Comma separated list of ip address blocks of the clients to access the fileSystem
Each address block contains the starting IP address and size for the block
cifs
boolean
    Choices:
  • no
  • yes
Enable or disable cifs filesystem
nfsv3
boolean
    Choices:
  • no
  • yes
Enable or disable nfsv3 fileSystem
nfsv4
boolean
    Choices:
  • no
  • yes
Enable or disable nfsv4 filesystem
ruleIndex
integer
Index number of the rule
unixReadOnly
boolean
    Choices:
  • no
  • yes
Should fileSystem have read only permission or not
unixReadWrite
boolean
    Choices:
  • no
  • yes
Should fileSystem have read write permission or not
quotaInBytes
integer
Size of the filesystem
Required for create
region
string / required
The region to which the filesystem belongs to.
secret_key
string / required
The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API.
serviceLevel
string
    Choices:
  • standard
  • premium
  • extreme
Service Level of a filesystem.
state
string / required
    Choices:
  • present
  • absent
Whether the specified fileSystem should exist or not.
validate_certs
boolean
    Choices:
  • no
  • yes
Should https certificates be validated?

Notes

Note

  • The modules prefixed with aws_cvs_netapp are built to Manage AWS Cloud Volume Service .

Examples

- name: Create FileSystem
  aws_netapp_cvs_FileSystems:
    state: present
    region: us-east-1
    creationToken: newVolume-1
    exportPolicy:
        rules:
          - allowedClients: 172.16.0.4
            cifs: False
            nfsv3: True
            nfsv4: True
            ruleIndex: 1
            unixReadOnly: True
            unixReadWrite: False
    quotaInBytes: 100000000000
    api_url : cds-aws-bundles.netapp.com
    api_key: Q1ZRR0p0VGNuZ3VhMnJBYk5zczM1RkZ3Z0lCbUE3
    secret_key : U1FwdHdKSGRQQUhIdkIwMktMU1ZCV2x6WUowZWRD

- name: Update FileSystem
  aws_netapp_cvs_FileSystems:
     state: present
     region: us-east-1
     creationToken: newVolume-1
     exportPolicy:
         rules:
           - allowedClients: 172.16.0.4
             cifs: False
             nfsv3: True
             nfsv4: True
             ruleIndex: 1
             unixReadOnly: True
             unixReadWrite: False
     quotaInBytes: 200000000000
     api_url : cds-aws-bundles.netapp.com
     api_key: Q1ZRR0p0VGNuZ3VhMnJBYk5zczM1RkZ3Z0lCbUE3
     secret_key : U1FwdHdKSGRQQUhIdkIwMktMU1ZCV2x6WUowZWRD

- name: Delete FileSystem
  aws_netapp_cvs_FileSystems:
     state: present
     region: us-east-1
     creationToken: newVolume-1
     quotaInBytes: 100000000000
     api_url : cds-aws-bundles.netapp.com
     api_key: Q1ZRR0p0VGNuZ3VhMnJBYk5zczM1RkZ3Z0lCbUE3
     secret_key : U1FwdHdKSGRQQUhIdkIwMktMU1ZCV2x6WUowZWRD

Status

Authors

Hint

If you notice any issues in this documentation, you can edit this document to improve it.

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/aws_netapp_cvs_FileSystems_module.html