|
3439 | 3439 | "x-ms-long-running-operation": true |
3440 | 3440 | } |
3441 | 3441 | }, |
3442 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/SimulateEviction": { |
| 3442 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction": { |
3443 | 3443 | "post": { |
3444 | 3444 | "tags": [ |
3445 | 3445 | "VirtualMachines" |
3446 | 3446 | ], |
3447 | 3447 | "operationId": "VirtualMachines_SimulateEviction", |
3448 | | - "description": "The operation to simulate the eviction of spot virtual machine", |
| 3448 | + "description": "The operation to simulate the eviction of spot virtual machine. The eviction will occur within 30 minutes of calling the API", |
3449 | 3449 | "parameters": [ |
3450 | 3450 | { |
3451 | 3451 | "name": "resourceGroupName", |
|
5984 | 5984 | "x-ms-long-running-operation": true |
5985 | 5985 | } |
5986 | 5986 | }, |
| 5987 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction": { |
| 5988 | + "post": { |
| 5989 | + "tags": [ |
| 5990 | + "VirtualMachineScaleSetVMs" |
| 5991 | + ], |
| 5992 | + "operationId": "VirtualMachineScaleSetVMs_SimulateEviction", |
| 5993 | + "description": "The operation to simulate the eviction of spot virtual machine in a VM scale set. The eviction will occur within 30 minutes of calling the API", |
| 5994 | + "parameters": [ |
| 5995 | + { |
| 5996 | + "name": "resourceGroupName", |
| 5997 | + "in": "path", |
| 5998 | + "required": true, |
| 5999 | + "type": "string", |
| 6000 | + "description": "The name of the resource group." |
| 6001 | + }, |
| 6002 | + { |
| 6003 | + "name": "vmScaleSetName", |
| 6004 | + "in": "path", |
| 6005 | + "required": true, |
| 6006 | + "type": "string", |
| 6007 | + "description": "The name of the VM scale set." |
| 6008 | + }, |
| 6009 | + { |
| 6010 | + "name": "instanceId", |
| 6011 | + "in": "path", |
| 6012 | + "required": true, |
| 6013 | + "type": "string", |
| 6014 | + "description": "The instance ID of the virtual machine." |
| 6015 | + }, |
| 6016 | + { |
| 6017 | + "$ref": "#/parameters/ApiVersionParameter" |
| 6018 | + }, |
| 6019 | + { |
| 6020 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 6021 | + } |
| 6022 | + ], |
| 6023 | + "responses": { |
| 6024 | + "204": { |
| 6025 | + "description": "No Content" |
| 6026 | + } |
| 6027 | + }, |
| 6028 | + "x-ms-long-running-operation": false, |
| 6029 | + "x-ms-examples": { |
| 6030 | + "Simulate Eviction a virtual machine.": { |
| 6031 | + "$ref": "./examples/SimulateEvictionOfVmssVM.json" |
| 6032 | + } |
| 6033 | + } |
| 6034 | + } |
| 6035 | + }, |
5987 | 6036 | "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": { |
5988 | 6037 | "post": { |
5989 | 6038 | "tags": [ |
|
6151 | 6200 | }, |
6152 | 6201 | "description": "Describes the properties of a Compute Operation Value Display." |
6153 | 6202 | }, |
| 6203 | + "DisallowedConfiguration": { |
| 6204 | + "properties": { |
| 6205 | + "vmDiskType": { |
| 6206 | + "type": "string", |
| 6207 | + "description": "VM disk types which are disallowed.", |
| 6208 | + "enum": [ |
| 6209 | + "None", |
| 6210 | + "Unmanaged" |
| 6211 | + ], |
| 6212 | + "x-ms-enum": { |
| 6213 | + "name": "VmDiskTypes", |
| 6214 | + "modelAsString": true |
| 6215 | + } |
| 6216 | + } |
| 6217 | + }, |
| 6218 | + "description": "Specifies the disallowed configuration for a virtual machine image." |
| 6219 | + }, |
6154 | 6220 | "HyperVGenerationType": { |
6155 | 6221 | "type": "string", |
6156 | 6222 | "description": "Specifies the HyperVGeneration Type", |
|
8776 | 8842 | "hyperVGeneration": { |
8777 | 8843 | "$ref": "#/definitions/HyperVGenerationType", |
8778 | 8844 | "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image" |
| 8845 | + }, |
| 8846 | + "disallowed": { |
| 8847 | + "$ref": "#/definitions/DisallowedConfiguration", |
| 8848 | + "description": "Specifies disallowed configuration for the VirtualMachine created from the image" |
8779 | 8849 | } |
8780 | 8850 | }, |
8781 | 8851 | "description": "Describes the properties of an Image." |
|
0 commit comments