You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Create Group Snapshot takes a list of volumes, whereas CreateSnapshot takes a VolumeID (in na_elementsw_snapshot that's src_volume_id (string, required)).
{
"method": "CreateSnapshot",
"params": {
"volumeID": <Volume ID>,"snapshotID": <Optional Source Snapshot ID>,"name": <Optional Snapshot Name>,"enableRemoteReplication": <Optional Boolean true or false>,"retention": "<Optional amount of time to retain the snapshot in HH:mm:ss>""attributes": {}
},
"id": 1
}
Because of that it's not possible to provide a list of volume IDs to src_volume_id's and take a group snapshot.
{
"method": "CreateGroupSnapshot",
"params": {
"volumes": [<CSV List of Volume IDs>],
"name": "<Optional Group Snapshot Name>",
"enableRemoteReplication": <Optional Boolean true or false>,"retention": "<Optional amount of time to retain the snapshot in HH:mm:ss>",
"attributes": {}
},
"id": 1
}
Component Name
na_elementsw_snapshot
Additional Information
If src_volume_id could optionally be a list and use CreateGroupSnapshot, then dedicated na_elementsw_group_snapshot module wouldn't be required.
If we want to take a group snapshot with Ansible we can't unless we create a snapshot schedule for a list of volumes (I haven't tested that yet, but that looks like a workaround for situations when group snapshots can be scheduled).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Create Group Snapshot takes a list of
volumes
, whereas CreateSnapshot takes aVolumeID
(inna_elementsw_snapshot
that'ssrc_volume_id
(string, required)).Because of that it's not possible to provide a list of volume IDs to
src_volume_id
's and take a group snapshot.Component Name
na_elementsw_snapshot
Additional Information
If
src_volume_id
could optionally be a list and use CreateGroupSnapshot, then dedicatedna_elementsw_group_snapshot
module wouldn't be required.If we want to take a group snapshot with Ansible we can't unless we create a snapshot schedule for a list of volumes (I haven't tested that yet, but that looks like a workaround for situations when group snapshots can be scheduled).
The text was updated successfully, but these errors were encountered: