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

Swagger for canceling MI management operations #7924

Closed
wants to merge 15 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,63 @@
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
"name": "11111111-1111-1111-1111-111111111111",
"type": "Microsoft.Sql/managedInstances/operations",
"properties": {
"managedInstanceName": "sqlcrudtest-4645",
"operation": "UpsertManagedServer",
"operationFriendlyName": "MANAGED SERVER UPDATE",
"percentComplete": 0,
"startTime": "2017-06-01T09:10:08.10Z",
"state": "InProgress"
}
"operationFriendlyName": "UPDATE MANAGED SERVER",
"percentComplete": 100,
"startTime": "2019-12-06T11:08:44.49Z",
"state": "Cancelled",
"isCancellable": false
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
"name": "11111111-1111-1111-1111-111111111111",
"type": "Microsoft.Sql/managedInstances/operations"
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
"name": "22222222-2222-2222-2222-222222222222",
"type": "Microsoft.Sql/managedInstances/operations",
"properties": {
"managedInstanceName": "sqlcrudtest-4645",
"operation": "UpsertManagedServer",
"operationFriendlyName": "MANAGED SERVER UPDATE",
"percentComplete": 100,
"startTime": "2019-09-23T08:05:28.687Z",
"state": "Succeeded"
}
"operationFriendlyName": "UPDATE MANAGED SERVER",
"percentComplete": 50,
"startTime": "2019-12-06T11:08:44.49Z",
"state": "InProgress",
"isCancellable": true
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
"name": "22222222-2222-2222-2222-222222222222",
"type": "Microsoft.Sql/managedInstances/operations"
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/33333333-3333-3333-3333-333333333333",
"name": "33333333-3333-3333-3333-333333333333",
"type": "Microsoft.Sql/managedInstances/operations",
"properties": {
"managedInstanceName": "sqlcrudtest-4645",
"operation": "UpsertManagedServer",
"operationFriendlyName": "MANAGED SERVER UPDATE",
"percentComplete": 55,
"startTime": "2019-09-23T08:05:28.687Z",
"operationFriendlyName": "UPDATE MANAGED SERVER",
"percentComplete": 100,
"startTime": "2019-12-06T14:48:34.583Z",
"state": "Failed",
"errorCode": 45157,
"errorDescription": "Server 'testcl' is busy with another operation. Please try your operation later.",
"errorDescription": "Server 'sqlcrudtest-4645' is busy with another operation. Please try your operation later.",
"errorSeverity": 16,
"isUserError": true
}
"isUserError": true,
"isCancellable": false
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/33333333-3333-3333-3333-333333333333",
"name": "33333333-3333-3333-3333-333333333333",
"type": "Microsoft.Sql/managedInstances/operations"
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/44444444-4444-4444-4444-444444444444",
"name": "44444444-4444-4444-4444-444444444444",
"type": "Microsoft.Sql/managedInstances/operations",
"properties": {
"managedInstanceName": "sqlcrudtest-4645",
"operation": "MakeAllManagedDatabasesAccessible",
"operationFriendlyName": "MAKE ALL MANAGED DBS ACCESSIBLE",
"percentComplete": 100,
"startTime": "2017-06-01T09:00:08.10Z",
"state": "Succeeded"
}
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/44444444-4444-4444-4444-444444444444",
"name": "44444444-4444-4444-4444-444444444444",
"type": "Microsoft.Sql/managedInstances/operations"
}
]
}
Expand Down
Loading