Skip to content

Commit

Permalink
Adding new VirtualMachineScaleSetVMs.POST.SimulateEviction action to …
Browse files Browse the repository at this point in the history
…compute api-version: 2019-12-01 (Azure#9102)
  • Loading branch information
sandeepkv93 authored and 00Kai0 committed Oct 12, 2020
1 parent 9307757 commit b17ab56
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3439,13 +3439,13 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/SimulateEviction": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction": {
"post": {
"tags": [
"VirtualMachines"
],
"operationId": "VirtualMachines_SimulateEviction",
"description": "The operation to simulate the eviction of spot virtual machine",
"operationId": "VirtualMachines_simulateEviction",
"description": "The operation to simulate the eviction of spot virtual machine. The eviction will occur within 30 minutes of calling the API",
"parameters": [
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -5984,6 +5984,55 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction": {
"post": {
"tags": [
"VirtualMachineScaleSetVMs"
],
"operationId": "VirtualMachineScaleSetVMs_simulateEviction",
"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",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "vmScaleSetName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the VM scale set."
},
{
"name": "instanceId",
"in": "path",
"required": true,
"type": "string",
"description": "The instance ID of the virtual machine."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"204": {
"description": "No Content"
}
},
"x-ms-long-running-operation": false,
"x-ms-examples": {
"Simulate Eviction a virtual machine.": {
"$ref": "./examples/SimulateEvictionOfVmssVM.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": {
"post": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "ResourceGroup",
"vmScaleSetName": "VmScaleSetName",
"api-version": "2019-12-01",
"instanceId": "InstanceId"
},
"responses": {
"204": {}
}
}

0 comments on commit b17ab56

Please sign in to comment.