Debian Codegraph @

ansible_collections/dellemc/openmanage/roles/redfish_storage_volume/meta/argument_specs.yml

raw symbols SCIP
1 ---
2 argument_specs:
3 main:
4 version_added: "7.5.0"
5 short_description: Role to manage the storage volume configuration
6 description:
7 - Role to create, modify, initialize, or delete a single storage volume.
8 options:
9 hostname:
10 required: true
11 type: str
12 description: iDRAC IP Address or hostname.
13 username:
14 type: str
15 description: iDRAC username with admin privilages.
16 password:
17 type: str
18 description: iDRAC user password.
19 https_port:
20 type: int
21 description: iDRAC port.
22 default: 443
23 validate_certs:
24 description:
25 - If C(false), the SSL certificates will not be validated.
26 - Configure C(false) only on personally controlled sites where self-signed certificates are used.
27 type: bool
28 default: true
29 ca_path:
30 description:
31 - The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
32 type: path
33 https_timeout:
34 description: The HTTPS socket level timeout in seconds.
35 type: int
36 default: 30
37 controller_id:
38 description:
39 - Fully Qualified Device Descriptor (FQDD) of the storage controller.
40 - For example- RAID.Slot.1-1.
41 - This option is mandatory when I(state) is C(present) while creating a volume.
42 type: str
43 volume_id:
44 description:
45 - FQDD of existing volume.
46 - For example- Disk.Virtual.4:RAID.Slot.1-1.
47 - This option is mandatory in the following scenarios,
48 - >-
49 I(state) is C(present), when updating a volume.
50 - >-
51 I(state) is C(absent), when deleting a volume.
52 - >-
53 I(command) is C(initialize), when initializing a volume.
54 type: str
55 state:
56 description:
57 - >-
58 C(present) creates a storage volume for the specified I (controller_id), or modifies the storage volume for the
59 specified I (volume_id).
60 "Note: Modification of an existing volume properties depends on drive and controller capabilities".
61 - C(absent) deletes the volume for the specified I(volume_id).
62 type: str
63 choices: [present, absent]
64 command:
65 description:
66 - C(initialize) initializes an existing storage volume for a specified I(volume_id).
67 type: str
68 choices: [initialize]
69 raid_type:
70 description:
71 - One of the following raid types must be selected to create a volume for firmware version 4.40 and above.
72 - C(RAID0) to create a RAID0 type volume.
73 - C(RAID1) to create a RAID1 type volume.
74 - C(RAID5) to create a RAID5 type volume.
75 - C(RAID6) to create a RAID6 type volume.
76 - C(RAID10) to create a RAID10 type volume.
77 - C(RAID50) to create a RAID50 type volume.
78 - C(RAID60) to create a RAID60 type volume.
79 type: str
80 choices: ["RAID0", "RAID1", "RAID5", "RAID6", "RAID10", "RAID50", "RAID60"]
81 name:
82 description:
83 - Name of the volume to be created.
84 - Only applicable when I(state) is C(present).
85 - This will be deprecated. Please use I(volume_name) for specifying the volume name.
86 type: str
87 volume_name:
88 description:
89 - Name of the volume to be created.
90 - Only applicable when I(state) is C(present).
91 type: str
92 drives:
93 description:
94 - FQDD of the Physical disks.
95 - For example- Disk.Bay.0:Enclosure.Internal.0-1:RAID.Slot.1-1.
96 - Only applicable when I(state) is C(present) when creating a new volume.
97 type: list
98 elements: str
99 block_size_bytes:
100 description:
101 - Block size in bytes.Only applicable when I(state) is C(present).
102 type: int
103 capacity_bytes:
104 description:
105 - Volume size in bytes.
106 - Only applicable when I(state) is C(present).
107 type: str
108 optimum_io_size_bytes:
109 description:
110 - Stripe size value must be in multiples of 64 * 1024.
111 - Only applicable when I(state) is C(present).
112 type: int
113 encryption_types:
114 description:
115 - The following encryption types can be selected.
116 - C(ControllerAssisted) The volume is encrypted by the storage controller entity.
117 - C(NativeDriveEncryption) The volume utilizes the native drive encryption capabilities
118 of the drive hardware.
119 - C(SoftwareAssisted) The volume is encrypted by the software running
120 on the system or the operating system.
121 - Only applicable when I(state) is C(present).
122 type: str
123 choices: [NativeDriveEncryption, ControllerAssisted, SoftwareAssisted]
124 encrypted:
125 description:
126 - Indicates whether volume is currently utilizing encryption or not.
127 - Only applicable when I(state) is C(present).
128 type: bool
129 oem:
130 description:
131 - Includes OEM extended payloads.
132 - Only applicable when I(state) is I(present).
133 type: dict
134 initialize_type:
135 description:
136 - Initialization type of existing volume.
137 - Only applicable when I(command) is C(initialize).
138 type: str
139 choices: [Fast, Slow]
140 default: Fast
141 job_wait:
142 description: Determines whether to wait for the job completion or not.
143 type: bool
144 default: true
145 job_wait_timeout:
146 description:
147 - The maximum wait time of I(job_wait) in seconds. The job is tracked only for this duration.
148 - This option is applicable when I(job_wait) is C(True).
149 type: int
150 default: 1200
151 apply_time:
152 description:
153 - Apply time of the Volume configuration.
154 - C(Immediate) allows you to apply the volume configuration on the host server immediately and apply the changes. This is applicable for I(job_wait).
155 - C(OnReset) allows you to apply the changes on the next reboot of the host server.
156 - I(apply_time) has a default value based on the different types of the controller.
157 - For example, BOSS-S1 and BOSS-N1 controllers have a default value of I(apply_time) as C(OnReset).
158 - PERC controllers have a default value of I(apply_time) as C(Immediate).
159 type: str
160 choices: [Immediate, OnReset]
161 version_added: 8.5.0
162 reboot_server:
163 description:
164 - Reboot the server to apply the changes.
165 - I(reboot_server) is applicable only when I(apply_timeout) is C(OnReset) or
166 when the default value for the apply time of the controller is C(OnReset).
167 type: bool
168 default: false
169 version_added: 8.5.0
170 force_reboot:
171 description:
172 - Reboot the server forcefully to apply the changes when the normal reboot fails.
173 - I(force_reboot) is applicable only when I(reboot_server) is C(true).
174 type: bool
175 default: false
176 version_added: 8.5.0