Skip to content

Commit 4cdbf9a

Browse files
authored
Merge pull request #108503 from timja/patch-1
Fix quotes and improve indenting
2 parents 39b9f46 + bf98925 commit 4cdbf9a

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

articles/virtual-machines/delete.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,28 @@ This example shows how to set the data disk and NIC to be deleted when the VM is
100100
PUT
101101
https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/myVM?api-version=xx
102102
{
103-
"storageProfile": {
103+
"storageProfile": {
104104
"dataDisks": [
105-
{ "diskSizeGB": 1023,
105+
{
106+
"diskSizeGB": 1023,
106107
"name": "myVMdatadisk",
107108
"createOption": "Empty",
108109
"lun": 0,
109-
"deleteOption": “Delete”
110-
} ]
111-
},
112-
"networkProfile": {
110+
"deleteOption": "Delete"
111+
}
112+
]
113+
},
114+
"networkProfile": {
113115
"networkInterfaces": [
114-
{ "id": "/subscriptions/.../Microsoft.Network/networkInterfaces/myNIC",
116+
{
117+
"id": "/subscriptions/.../Microsoft.Network/networkInterfaces/myNIC",
115118
"properties": {
116119
"primary": true,
117-
"deleteOption": “Delete”
118-
} }
119-
]
120+
"deleteOption": "Delete"
121+
}
122+
}
123+
]
124+
}
120125
}
121126
```
122127

@@ -143,9 +148,9 @@ PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/provider
143148
144149
"id": "/subscriptions/../publicIPAddresses/test-ip",
145150
146-
          "properties": {
147-
            deleteOption”: “Delete
148-
}
151+
          "properties": {
152+
            "deleteOption": "Delete"
153+
}
149154
},
150155
151156
"subnet": {
@@ -264,15 +269,14 @@ PATCH https://management.azure.com/subscriptions/subID/resourceGroups/resourcegr
264269
"networkProfile": {
265270
"networkInterfaces": [
266271
{
267-
"id": "/subscriptions/subID/resourceGroups/resourcegroup/providers/Microsoft.Network/networkInterfaces/nic336"
268-
,
272+
"id": "/subscriptions/subID/resourceGroups/resourcegroup/providers/Microsoft.Network/networkInterfaces/nic336",
269273
"properties": {
270-
"deleteOption": "Delete"
271-
}
272-
}
274+
"deleteOption": "Delete"
275+
}
276+
}
273277
]
274278
}
275-
}
279+
}
276280
}
277281
```
278282
---

0 commit comments

Comments
 (0)