Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
new recordings
  • Loading branch information
Zim Kalinowski committed Sep 16, 2019
commit a907a094d898eb457a0b322ae67fc55de323272f

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3,786 changes: 2,047 additions & 1,739 deletions sdk/compute/azure-mgmt-compute/tests/recordings/test_mgmt_compute.test_vm_images.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,115 +1,56 @@
interactions:
- request:
body: '{"properties": {"storageProfile": {"osDisk": {"osState": "Generalized",
"caching": "ReadWrite", "blobUri": "https://mystorageaccount.blob.core.windows.net/inputtestdatadonotdelete/ubuntu.vhd",
"osType": "Linux"}}}, "location": "westus"}'
body: '{"location": "westus", "properties": {"storageProfile": {"osDisk": {"osType":
"Linux", "osState": "Generalized", "blobUri": "https://mystorageaccount.blob.core.windows.net/inputtestdatadonotdelete/ubuntu.vhd",
"caching": "ReadWrite"}}}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['239']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11
msrest_azure/0.4.10 computemanagementclient/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
x-ms-client-request-id: [aaefdaec-5d36-11e7-af9e-ecb1d756380e]
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '236'
Content-Type:
- application/json; charset=utf-8
User-Agent:
- python/3.6.8 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.1 azure-mgmt-compute/8.0.0 Azure-SDK-For-Python
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_create_image_from_blob1cfb14b2/providers/Microsoft.Compute/images/myImage?api-version=2019-03-01
response:
body: {string: "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"osDisk\":
{\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n
\ \"blobUri\": \"https://mystorageaccount.blob.core.windows.net/inputtestdatadonotdelete/ubuntu.vhd\",\r\n
\ \"caching\": \"ReadWrite\"\r\n },\r\n \"dataDisks\": []\r\n
\ },\r\n \"provisioningState\": \"Creating\"\r\n },\r\n \"type\": \"Microsoft.Compute/images\",\r\n
\ \"location\": \"westus\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_create_image_from_blob1cfb14b2/providers/Microsoft.Compute/images/myImage\",\r\n
\ \"name\": \"myImage\"\r\n}"}
body:
string: "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"\
message\": \"Required parameter 'hyperVGeneration' is missing (null).\",\r\
\n \"target\": \"hyperVGeneration\"\r\n }\r\n}"
headers:
Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/53c76029-51ee-40c5-843a-3ab96eba05f4?api-version=2019-03-01']
Cache-Control: [no-cache]
Content-Length: ['622']
Content-Type: [application/json; charset=utf-8]
Date: ['Fri, 30 Jun 2017 01:51:49 GMT']
Expires: ['-1']
Pragma: [no-cache]
Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
Strict-Transport-Security: [max-age=31536000; includeSubDomains]
x-ms-correlation-request-id: [1bd8762f-f938-4279-a501-e76e999d8822]
x-ms-ratelimit-remaining-subscription-writes: ['1198']
x-ms-request-id: [53c76029-51ee-40c5-843a-3ab96eba05f4]
x-ms-routing-request-id: ['WESTUS2:20170630T015149Z:1bd8762f-f938-4279-a501-e76e999d8822']
x-ms-served-by: [2d78c99a-5cdc-4580-9eb7-b3e168e83a95_131282043969998685]
status: {code: 201, message: Created}
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11
msrest_azure/0.4.10 computemanagementclient/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
x-ms-client-request-id: [aaefdaec-5d36-11e7-af9e-ecb1d756380e]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/53c76029-51ee-40c5-843a-3ab96eba05f4?api-version=2019-03-01
response:
body: {string: "{\r\n \"startTime\": \"2017-06-30T01:51:43.9432726+00:00\",\r\n
\ \"endTime\": \"2017-06-30T01:52:04.5545491+00:00\",\r\n \"status\": \"Succeeded\",\r\n
\ \"name\": \"53c76029-51ee-40c5-843a-3ab96eba05f4\"\r\n}"}
headers:
Cache-Control: [no-cache]
Content-Type: [application/json; charset=utf-8]
Date: ['Fri, 30 Jun 2017 01:52:19 GMT']
Expires: ['-1']
Pragma: [no-cache]
Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
Strict-Transport-Security: [max-age=31536000; includeSubDomains]
Transfer-Encoding: [chunked]
Vary: [Accept-Encoding]
content-length: ['184']
x-ms-correlation-request-id: [6215d051-c2b8-4fc2-8160-cfd1caa71d9c]
x-ms-ratelimit-remaining-subscription-reads: ['14997']
x-ms-request-id: [3e4ec766-74f6-413c-9717-952917115705]
x-ms-routing-request-id: ['WESTUS2:20170630T015220Z:6215d051-c2b8-4fc2-8160-cfd1caa71d9c']
x-ms-served-by: [2d78c99a-5cdc-4580-9eb7-b3e168e83a95_131282043969998685]
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11
msrest_azure/0.4.10 computemanagementclient/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
x-ms-client-request-id: [aaefdaec-5d36-11e7-af9e-ecb1d756380e]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_create_image_from_blob1cfb14b2/providers/Microsoft.Compute/images/myImage?api-version=2019-03-01
response:
body: {string: "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"osDisk\":
{\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n
\ \"blobUri\": \"https://mystorageaccount.blob.core.windows.net/inputtestdatadonotdelete/ubuntu.vhd\",\r\n
\ \"caching\": \"ReadWrite\"\r\n },\r\n \"dataDisks\": []\r\n
\ },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"type\":
\"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n \"id\":
\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_create_image_from_blob1cfb14b2/providers/Microsoft.Compute/images/myImage\",\r\n
\ \"name\": \"myImage\"\r\n}"}
headers:
Cache-Control: [no-cache]
Content-Type: [application/json; charset=utf-8]
Date: ['Fri, 30 Jun 2017 01:52:20 GMT']
Expires: ['-1']
Pragma: [no-cache]
Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
Strict-Transport-Security: [max-age=31536000; includeSubDomains]
Transfer-Encoding: [chunked]
Vary: [Accept-Encoding]
content-length: ['623']
x-ms-correlation-request-id: [9800f1b8-8b1f-43c9-88b6-2c78b27b7119]
x-ms-ratelimit-remaining-subscription-reads: ['14994']
x-ms-request-id: [94d2774a-a28b-4a61-8c8c-cc4591c4c2e3]
x-ms-routing-request-id: ['WESTUS2:20170630T015220Z:9800f1b8-8b1f-43c9-88b6-2c78b27b7119']
x-ms-served-by: [2d78c99a-5cdc-4580-9eb7-b3e168e83a95_131282043969998685]
status: {code: 200, message: OK}
cache-control:
- no-cache
content-length:
- '166'
content-type:
- application/json; charset=utf-8
date:
- Mon, 16 Sep 2019 03:55:51 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-HTTPAPI/2.0
- Microsoft-HTTPAPI/2.0
strict-transport-security:
- max-age=31536000; includeSubDomains
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199
x-ms-ratelimit-remaining-subscription-writes:
- '1194'
status:
code: 400
message: Bad Request
version: 1
Loading