Skip to content

Commit 202d83c

Browse files
authored
OMode ModelAsString update to make it nullable and rearrangements to avoid breaking change in .Net (#12963)
* Update compute.json * Update compute.json * Update compute.json * Update compute.json * Update compute.json trying to arrange for the one ForceDelete breaking change. * Update compute.json * Update compute.json
1 parent 17d2a30 commit 202d83c

File tree

1 file changed

+10
-10
lines changed
  • specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01

1 file changed

+10
-10
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9110,10 +9110,6 @@
91109110
"type": "boolean",
91119111
"description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
91129112
},
9113-
"detachOption": {
9114-
"$ref": "#/definitions/DetachOption",
9115-
"description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
9116-
},
91179113
"diskIOPSReadWrite": {
91189114
"type": "integer",
91199115
"readOnly": true,
@@ -9125,6 +9121,10 @@
91259121
"readOnly": true,
91269122
"format": "int64",
91279123
"description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
9124+
},
9125+
"detachOption": {
9126+
"$ref": "#/definitions/DetachOption",
9127+
"description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
91289128
}
91299129
},
91309130
"required": [
@@ -9842,11 +9842,6 @@
98429842
"$ref": "#/definitions/SubResource",
98439843
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01."
98449844
},
9845-
"platformFaultDomain": {
9846-
"type": "integer",
9847-
"format": "int32",
9848-
"description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01"
9849-
},
98509845
"priority": {
98519846
"$ref": "#/definitions/priority",
98529847
"description": "Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01"
@@ -9889,6 +9884,11 @@
98899884
"extensionsTimeBudget": {
98909885
"type": "string",
98919886
"description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01"
9887+
},
9888+
"platformFaultDomain": {
9889+
"type": "integer",
9890+
"format": "int32",
9891+
"description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01"
98929892
}
98939893
},
98949894
"description": "Describes the properties of a Virtual Machine."
@@ -10107,7 +10107,7 @@
1010710107
],
1010810108
"x-ms-enum": {
1010910109
"name": "OrchestrationMode",
10110-
"modelAsString": false
10110+
"modelAsString": true
1011110111
}
1011210112
},
1011310113
"ImageOSDisk": {

0 commit comments

Comments
 (0)