Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new VirtualMachineScaleSetVMs.POST.SimulateEviction action to compute api-version: 2019-12-01 #9102

Merged
merged 8 commits into from
Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -3445,7 +3445,7 @@
"VirtualMachines"
],
"operationId": "VirtualMachines_SimulateEviction",
"description": "The operation to simulate the eviction of spot virtual machine",
"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": {
sandeepkv93 marked this conversation as resolved.
Show resolved Hide resolved
"post": {
"tags": [
"VirtualMachineScaleSetVMs"
],
"operationId": "VirtualMachineScaleSetVMs_SimulateEviction",
"description": "The operation to simulate the eviction of spot vmscaleset virtual machine. 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": {}
}
}