{ "uuid": "3d7375e8-39b4-439e-af10-ff23c29fc2cd", "lastMigration": 29, "name": "RunCommandsClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "835646bf-edea-4fc0-aef6-b1482198cc72", "documentation": "Lists all available run commands for a subscription in a location.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Compute/locations/:location/runCommands", "responses": [ { "uuid": "b642eaed-3687-4f55-8aa8-eeb37f0005c1", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"$schema\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"label\": \"\",\n \"osType\": \"{{oneOf (array 'Windows' 'Linux')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6cea7044-4b92-4e17-8e79-7afc713517b7", "documentation": "Gets specific run command for a subscription in a location.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Compute/locations/:location/runCommands/:commandId", "responses": [ { "uuid": "5fb7db26-cbc7-43ff-aacd-b06ffcc37470", "body": "{\n \"$schema\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"label\": \"\",\n \"osType\": \"{{oneOf (array 'Windows' 'Linux')}}\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c8b822f-965e-428c-bf13-466463f33217", "documentation": "Run command on a virtual machine in a VM scale set.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Compute/virtualMachineScaleSets/:vmScaleSetName/virtualmachines/:instanceId/runCommand", "responses": [ { "uuid": "9ee155e9-dc0d-4a25-b2f7-21b667fd00de", "body": "{\n \"value\": [\n {\n \"code\": \"\",\n \"displayStatus\": \"\",\n \"level\": \"{{oneOf (array 'Info' 'Warning' 'Error')}}\",\n \"message\": \"\",\n \"time\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4af97ae7-0684-46f2-8c16-5ae33d91d46f", "body": "", "latency": 0, "statusCode": 202, "label": "Accepted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d7b4583a-fa3a-4338-8e88-a039377db08a", "documentation": "Run command on the VM.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Compute/virtualMachines/:vmName/runCommand", "responses": [ { "uuid": "d7635dcd-84d2-4c73-aca5-b936753b594f", "body": "{\n \"value\": [\n {\n \"code\": \"\",\n \"displayStatus\": \"\",\n \"level\": \"{{oneOf (array 'Info' 'Warning' 'Error')}}\",\n \"message\": \"\",\n \"time\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e482d5a4-66a8-463b-88a9-fe0eefa32627", "body": "", "latency": 0, "statusCode": 202, "label": "Accepted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "835646bf-edea-4fc0-aef6-b1482198cc72" }, { "type": "route", "uuid": "6cea7044-4b92-4e17-8e79-7afc713517b7" }, { "type": "route", "uuid": "5c8b822f-965e-428c-bf13-466463f33217" }, { "type": "route", "uuid": "d7b4583a-fa3a-4338-8e88-a039377db08a" } ] }