Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion doc/shorthand_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ az some-command --contact name=Bill address=null

### `null` value in update commands

In update commands `null` value is usually used to unset properties.
In update commands `null` value is usually used to unset properties of a object or remove elements of an array or a dict.
For example if there already exists an resource with following contact property

contact
Expand Down Expand Up @@ -280,6 +280,11 @@ By using `null` value in update command, _address_ property of resource's _conta
az some-update-command --contact address=null
```

By using `null` value in update command, the first element of resource's _emails_ can be removed:
```bash
az some-update-command --emails [0]=null
```

# Single Quotes String

_Single Quotes String_ is used to pass a __string__ value with special characters: `:`, `,`, `{`, `}`, `[`, `]`, `null`, `??` and space.
Expand Down