File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1313 help = "Cancel current refresh process and initiates the new refresh." )
1414@environment .pass_env
1515def cli (env , volume_id , snapshot_id , force_refresh ):
16- """Refresh a duplicate volume with a snapshot from its parent."""
16+ """Refresh a duplicate volume with a snapshot from its parent.
17+
18+ EXAMPLE::
19+
20+ slcli block volume-refresh VOLUME_ID SNAPSHOT_ID
21+ Refresh a duplicate VOLUME_ID with a snapshot from its parent SNAPSHOT_ID.
22+ """
1723 block_manager = SoftLayer .BlockStorageManager (env .client )
1824 resp = block_manager .refresh_dupe (volume_id , snapshot_id , force_refresh )
1925
Original file line number Diff line number Diff line change 1515 help = 'Public notes related to a Storage volume' )
1616@environment .pass_env
1717def cli (env , volume_id , note ):
18- """Set note for an existing block storage volume."""
18+ """Set note for an existing block storage volume.
19+
20+ EXAMPLE::
21+
22+ slcli block volume-set-note 12345678 --note 'this is my note'
23+ """
1924 block_manager = SoftLayer .BlockStorageManager (env .client )
2025 block_volume_id = helpers .resolve_id (block_manager .resolve_ids , volume_id , 'Block Volume' )
2126
You can’t perform that action at this time.
0 commit comments