Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

na_cloudmanager_aggregate

Chris Archibald edited this page Apr 8, 2021 · 2 revisions
orphan:

netapp.cloudmanager.na_cloudmanager_aggregate -- NetApp Cloud Manager Aggregate

Note

This plugin is part of the netapp.cloudmanager collection (version 21.4.0).

To install it use: ansible-galaxy collection install netapp.cloudmanager.

To use it in a playbook, specify: netapp.cloudmanager.na_cloudmanager_aggregate.

.. versionadded:: 21.3.0 of netapp.cloudmanager

  • Create, Modify or Delete Aggregate on Cloud Manager.
Parameter Choices/Defaults Comments
capacity_tier
string
    Choices:
  • NONE
  • S3
  • Blob
  • cloudStorage
The aggregate's capacity tier for tiering cold data to object storage.
If the value is NONE, the capacity_tier will not be set on aggregate creation.
client_id
string / required
The client ID of the Cloud Manager Connector.
disk_size_size
integer
The required size of the disks.
disk_size_unit
string
    Choices:
  • GB
  • TB ←
The disk size unit ['GB' or 'TB']. The default is 'TB'.
home_node
string
The home node that the new aggregate should belong to.
iops
string
Provisioned IOPS. Needed only when providerVolumeType is "io1".
name
string / required
The name of the new aggregate.
number_of_disks
integer
The required number of disks in the new aggregate.
provider_volume_type
string
The cloud provider volume type.
refresh_token
string / required
The refresh token for NetApp Cloud Manager API operations.
state
string / required
    Choices:
  • present
  • absent
Whether the specified aggregate should exist or not.
working_environment_id
string
The public ID of the working environment where the aggregate will be created.
working_environment_name
string
The working environment name where the aggregate will be created.

Note

  • Support check_mode.
  • The modules prefixed with cloudmanager_netapp are built to Manage AWS/GCP/Azure CLOUDMANAGER.
- name: Create Aggregate
  netapp.cloudmanager.na_cloudmanager_aggregate:
    state: present
    name: AnsibleAggregate
    working_environment_name: testAWS
    client_id: "{{ client_id }}"
    number_of_disks: 2
    refresh_token: xxx

- name: Delete Volume
  netapp.cloudmanager.na_cloudmanager_aggregate:
    state: absent
    name: AnsibleAggregate
    working_environment_name: testAWS
    client_id: "{{ client_id }}"
    refresh_token: xxx

Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module:

Key Returned Description
msg
string
success
Success message.

Sample:
Aggregate Created


Authors