|
2659 | 2659 | "Create a vm with boot diagnostics.": { |
2660 | 2660 | "$ref": "./examples/CreateAVmWithBootDiagnostics.json" |
2661 | 2661 | }, |
| 2662 | + "Create a vm with managed boot diagnostics.": { |
| 2663 | + "$ref": "./examples/CreateAVmWithManagedBootDiagnostics.json" |
| 2664 | + }, |
2662 | 2665 | "Create a vm with empty data disks.": { |
2663 | 2666 | "$ref": "./examples/CreateAVmWithEmptyDataDisks.json" |
2664 | 2667 | }, |
|
3411 | 3414 | } |
3412 | 3415 | } |
3413 | 3416 | }, |
| 3417 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData": { |
| 3418 | + "post": { |
| 3419 | + "tags": [ |
| 3420 | + "VirtualMachines" |
| 3421 | + ], |
| 3422 | + "operationId": "VirtualMachines_RetrieveBootDiagnosticsData", |
| 3423 | + "description": "The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.", |
| 3424 | + "parameters": [ |
| 3425 | + { |
| 3426 | + "name": "resourceGroupName", |
| 3427 | + "in": "path", |
| 3428 | + "required": true, |
| 3429 | + "type": "string", |
| 3430 | + "description": "The name of the resource group." |
| 3431 | + }, |
| 3432 | + { |
| 3433 | + "name": "vmName", |
| 3434 | + "in": "path", |
| 3435 | + "required": true, |
| 3436 | + "type": "string", |
| 3437 | + "description": "The name of the virtual machine." |
| 3438 | + }, |
| 3439 | + { |
| 3440 | + "name": "sasUriExpirationTimeInMinutes", |
| 3441 | + "in": "query", |
| 3442 | + "required": false, |
| 3443 | + "type": "integer", |
| 3444 | + "format": "int32", |
| 3445 | + "description": "Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes." |
| 3446 | + }, |
| 3447 | + { |
| 3448 | + "$ref": "#/parameters/ApiVersionParameter" |
| 3449 | + }, |
| 3450 | + { |
| 3451 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 3452 | + } |
| 3453 | + ], |
| 3454 | + "responses": { |
| 3455 | + "200": { |
| 3456 | + "description": "OK", |
| 3457 | + "schema": { |
| 3458 | + "$ref": "#/definitions/RetrieveBootDiagnosticsDataResult" |
| 3459 | + } |
| 3460 | + }, |
| 3461 | + "default": { |
| 3462 | + "description": "Error response describing why the operation failed.", |
| 3463 | + "schema": { |
| 3464 | + "$ref": "#/definitions/CloudError" |
| 3465 | + } |
| 3466 | + } |
| 3467 | + }, |
| 3468 | + "x-ms-long-running-operation": false, |
| 3469 | + "x-ms-examples": { |
| 3470 | + "RetrieveBootDiagnosticsData of a virtual machine.": { |
| 3471 | + "$ref": "./examples/RetrieveBootDiagnosticsDataVirtualMachine.json" |
| 3472 | + } |
| 3473 | + } |
| 3474 | + } |
| 3475 | + }, |
3414 | 3476 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": { |
3415 | 3477 | "post": { |
3416 | 3478 | "tags": [ |
|
3568 | 3630 | "Create a scale set with boot diagnostics.": { |
3569 | 3631 | "$ref": "./examples/CreateAScaleSetWithBootDiagnostics.json" |
3570 | 3632 | }, |
| 3633 | + "Create a scale set with managed boot diagnostics.": { |
| 3634 | + "$ref": "./examples/CreateAScaleSetWithManagedBootDiagnostics.json" |
| 3635 | + }, |
3571 | 3636 | "Create a scale set with a marketplace image plan.": { |
3572 | 3637 | "$ref": "./examples/CreateAScaleSetWithAMarketplaceImagePlan.json" |
3573 | 3638 | }, |
|
5955 | 6020 | "x-ms-long-running-operation": true |
5956 | 6021 | } |
5957 | 6022 | }, |
| 6023 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData": { |
| 6024 | + "post": { |
| 6025 | + "tags": [ |
| 6026 | + "VirtualMachineScaleSetVMs" |
| 6027 | + ], |
| 6028 | + "operationId": "VirtualMachineScaleSetVMs_RetrieveBootDiagnosticsData", |
| 6029 | + "description": "The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.", |
| 6030 | + "parameters": [ |
| 6031 | + { |
| 6032 | + "name": "resourceGroupName", |
| 6033 | + "in": "path", |
| 6034 | + "required": true, |
| 6035 | + "type": "string", |
| 6036 | + "description": "The name of the resource group." |
| 6037 | + }, |
| 6038 | + { |
| 6039 | + "name": "vmScaleSetName", |
| 6040 | + "in": "path", |
| 6041 | + "required": true, |
| 6042 | + "type": "string", |
| 6043 | + "description": "The name of the VM scale set." |
| 6044 | + }, |
| 6045 | + { |
| 6046 | + "name": "instanceId", |
| 6047 | + "in": "path", |
| 6048 | + "required": true, |
| 6049 | + "type": "string", |
| 6050 | + "description": "The instance ID of the virtual machine." |
| 6051 | + }, |
| 6052 | + { |
| 6053 | + "name": "sasUriExpirationTimeInMinutes", |
| 6054 | + "in": "query", |
| 6055 | + "required": false, |
| 6056 | + "type": "integer", |
| 6057 | + "format": "int32", |
| 6058 | + "description": "Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes." |
| 6059 | + }, |
| 6060 | + { |
| 6061 | + "$ref": "#/parameters/ApiVersionParameter" |
| 6062 | + }, |
| 6063 | + { |
| 6064 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 6065 | + } |
| 6066 | + ], |
| 6067 | + "responses": { |
| 6068 | + "200": { |
| 6069 | + "description": "OK", |
| 6070 | + "schema": { |
| 6071 | + "$ref": "#/definitions/RetrieveBootDiagnosticsDataResult" |
| 6072 | + } |
| 6073 | + }, |
| 6074 | + "default": { |
| 6075 | + "description": "Error response describing why the operation failed.", |
| 6076 | + "schema": { |
| 6077 | + "$ref": "#/definitions/CloudError" |
| 6078 | + } |
| 6079 | + } |
| 6080 | + }, |
| 6081 | + "x-ms-long-running-operation": false, |
| 6082 | + "x-ms-examples": { |
| 6083 | + "RetrieveBootDiagnosticsData of a virtual machine.": { |
| 6084 | + "$ref": "./examples/RetrieveBootDiagnosticsDataVMScaleSetVM.json" |
| 6085 | + } |
| 6086 | + } |
| 6087 | + } |
| 6088 | + }, |
5958 | 6089 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": { |
5959 | 6090 | "post": { |
5960 | 6091 | "tags": [ |
|
6235 | 6366 | }, |
6236 | 6367 | "description": "Specifies the disallowed configuration for a virtual machine image." |
6237 | 6368 | }, |
| 6369 | + "RetrieveBootDiagnosticsDataResult": { |
| 6370 | + "properties": { |
| 6371 | + "consoleScreenshotBlobUri": { |
| 6372 | + "type": "string", |
| 6373 | + "readOnly": true, |
| 6374 | + "description": "The console screenshot blob URI" |
| 6375 | + }, |
| 6376 | + "serialConsoleLogBlobUri": { |
| 6377 | + "type": "string", |
| 6378 | + "readOnly": true, |
| 6379 | + "description": "The serial console log blob URI." |
| 6380 | + } |
| 6381 | + }, |
| 6382 | + "description": "The SAS URIs of the console screenshot and serial log blobs." |
| 6383 | + }, |
6238 | 6384 | "HyperVGenerationType": { |
6239 | 6385 | "type": "string", |
6240 | 6386 | "description": "Specifies the HyperVGeneration Type", |
|
8158 | 8304 | }, |
8159 | 8305 | "storageUri": { |
8160 | 8306 | "type": "string", |
8161 | | - "description": "Uri of the storage account to use for placing the console output and screenshot." |
| 8307 | + "description": "Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used." |
8162 | 8308 | } |
8163 | 8309 | }, |
8164 | 8310 | "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor." |
|
8275 | 8421 | "consoleScreenshotBlobUri": { |
8276 | 8422 | "readOnly": true, |
8277 | 8423 | "type": "string", |
8278 | | - "description": "The console screenshot blob URI." |
| 8424 | + "description": "The console screenshot blob URI. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage." |
8279 | 8425 | }, |
8280 | 8426 | "serialConsoleLogBlobUri": { |
8281 | 8427 | "readOnly": true, |
8282 | 8428 | "type": "string", |
8283 | | - "description": "The Linux serial console log blob Uri." |
| 8429 | + "description": "The serial console log blob Uri. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage." |
8284 | 8430 | }, |
8285 | 8431 | "status": { |
8286 | 8432 | "readOnly": true, |
|
0 commit comments