mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-20 09:21:24 -07:00
[PR #9524/568fcea1 backport][stable-10] pr*: style adjustments (#9560)
pr*: style adjustments (#9524)
* pr*: style adjustments
* revert removal of "null"
* Update plugins/modules/redfish_command.py
* Update plugins/modules/redhat_subscription.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 568fcea15e
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
b23d011582
commit
18afa4e8b0
48 changed files with 380 additions and 310 deletions
|
@ -43,15 +43,16 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Indicates desired state of the disk.
|
||||
- O(state=present) can be used to create, replace disk or update options in existing disk. It will create missing disk or update options
|
||||
in existing one by default. See the O(create) parameter description to control behavior of this option.
|
||||
- O(state=present) can be used to create, replace disk or update options in existing disk. It will create missing disk
|
||||
or update options in existing one by default. See the O(create) parameter description to control behavior of this
|
||||
option.
|
||||
- Some updates on options (like O(cache)) are not being applied instantly and require VM restart.
|
||||
- Use O(state=detached) to detach existing disk from VM but do not remove it entirely. When O(state=detached) and disk is V(unused[n]) it
|
||||
will be left in same state (not removed).
|
||||
- O(state=moved) may be used to change backing storage for the disk in bounds of the same VM or to send the disk to another VM (using the
|
||||
same backing storage).
|
||||
- O(state=resized) intended to change the disk size. As of Proxmox 7.2 you can only increase the disk size because shrinking disks is not
|
||||
supported by the PVE API and has to be done manually.
|
||||
- Use O(state=detached) to detach existing disk from VM but do not remove it entirely. When O(state=detached) and disk
|
||||
is V(unused[n]) it will be left in same state (not removed).
|
||||
- O(state=moved) may be used to change backing storage for the disk in bounds of the same VM or to send the disk to
|
||||
another VM (using the same backing storage).
|
||||
- O(state=resized) intended to change the disk size. As of Proxmox 7.2 you can only increase the disk size because shrinking
|
||||
disks is not supported by the PVE API and has to be done manually.
|
||||
- To entirely remove the disk from backing storage use O(state=absent).
|
||||
type: str
|
||||
choices: ['present', 'resized', 'detached', 'moved', 'absent']
|
||||
|
@ -73,8 +74,8 @@ options:
|
|||
size:
|
||||
description:
|
||||
- Desired volume size in GB to allocate when O(state=present) (specify O(size) without suffix).
|
||||
- New (or additional) size of volume when O(state=resized). With the V(+) sign the value is added to the actual size of the volume and without
|
||||
it, the value is taken as an absolute one.
|
||||
- New (or additional) size of volume when O(state=resized). With the V(+) sign the value is added to the actual size
|
||||
of the volume and without it, the value is taken as an absolute one.
|
||||
type: str
|
||||
bwlimit:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue