Skip to content

Commit 4e1b700

Browse files
(DOCS) Add support for RZ_NONE to Microsoft.Windows/Registry
1 parent b539879 commit 4e1b700

File tree

1 file changed

+10
-7
lines changed
  • docs/reference/resources/Microsoft/Windows/Registry

1 file changed

+10
-7
lines changed

docs/reference/resources/Microsoft/Windows/Registry/index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The default value for this property when not specified for an instance is `true`
167167
<details><summary>Expand for <code>valueData</code> property metadata</summary>
168168

169169
```yaml
170-
Type : object
170+
Type : [object, 'null']
171171
IsRequired : false
172172
IsKey : false
173173
IsReadOnly : false
@@ -179,10 +179,14 @@ MaximumPropertyCount : 1
179179

180180
</details>
181181

182-
Defines the data for the registry value. If specified, this property must be an object with a
183-
single property. The property name defines the data type. The property value defines the data
184-
value. When the instance defines this property, the `valueName` property must also be defined. An
185-
instance that defines `valueData` without `valueName` is invalid.
182+
Defines the data for the registry value. If you specify the `valueName`property without
183+
`valueData`, the resource sets the value to `RZ_NONE`.
184+
185+
When the instance defines this property, the `valueName` property must also be defined. An instance
186+
that defines `valueData` without `valueName` is invalid.
187+
188+
If specified, this property must be an object with a single property. The property name defines the
189+
data type. The property value defines the data value.
186190

187191
`valueData` has the following properties:
188192

@@ -195,8 +199,7 @@ instance that defines `valueData` without `valueName` is invalid.
195199
- [DWord](#dword-valuedata) - Defines the value as a 32-bit unsigned integer (`REG_DWORD`).
196200
- [QWord](#qword-valuedata) - Defines the value as a 64-bit unsigned integer (`REG_QWORD`).
197201

198-
For more information on registry value data types, see
199-
[Registry value types][09].
202+
For more information on registry value data types, see [Registry value types][09].
200203

201204
#### String valueData
202205

0 commit comments

Comments
 (0)