From 71dc68dfdf531fb35314f3836f3d2f8f26f90409 Mon Sep 17 00:00:00 2001 From: poanchen Date: Thu, 9 Jan 2020 10:09:15 -0800 Subject: [PATCH 1/5] add new sku name to iotcentral --- .../azure/cli/testsdk/preparers.py | 2 +- src/azure-cli/HISTORY.rst | 4 + .../recordings/test_iotcentral_app.yaml | 1323 ++++++++++++----- .../tests/latest/test_iotcentral_commands.py | 25 +- src/azure-cli/setup.py | 2 +- 5 files changed, 957 insertions(+), 399 deletions(-) diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py index f66320c6a98..b4030113490 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py @@ -46,7 +46,7 @@ def live_only_execute(self, cli_ctx, command, expect_failure=False): class ResourceGroupPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): def __init__(self, name_prefix='clitest.rg', parameter_name='resource_group', - parameter_name_for_location='resource_group_location', location='westus', + parameter_name_for_location='resource_group_location', location='eastus', dev_setting_name='AZURE_CLI_TEST_DEV_RESOURCE_GROUP_NAME', dev_setting_location='AZURE_CLI_TEST_DEV_RESOURCE_GROUP_LOCATION', random_name_length=75, key='rg'): diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index 9b5d88c1d25..0a0232c2db7 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +**IoT Central** + +* Support app creation/update with the new sku name ST0, ST1, ST2. + 2.0.79 ++++++ diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml index 6e506d41208..d8e01f2798f 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml @@ -1,73 +1,65 @@ interactions: - request: - body: '{"name": "iotc-cli-test000002", "type": "IoTApps"}' + body: null headers: Accept: - - application/json + - '*/*' + Accept-Charset: + - utf-8 Accept-Encoding: - gzip, deflate - CommandName: - - iotcentral app create Connection: - keep-alive - Content-Length: - - '55' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g --sku --subdomain User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral/checkNameAvailability?api-version=2018-09-01 + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 response: body: - string: '{"nameAvailable":true}' + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - private, max-age=86400 content-length: - - '22' + - '131' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:20:11 GMT - etag: - - W/"16-4/x+wI91pK3bZiWtoOg+Zr/n2HE" + - Thu, 09 Jan 2020 17:43:32 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Aiy11hFLhfpFlZKtikyNeqI; expires=Sat, 08-Feb-2020 17:43:32 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8FyBq06r_WVGhDpy3x9qPSrxvkZ2zmG0gKBqTEAnlUbMEBZq8z0Q9YqbhlL_ulxPsecsfX6fFZ_ciCK6VsbsF0ZiVPTb2REtMSkagyJV_MLSBbfgiGKDDY6QZMwDbXO9jvmMJaTuGHsY9KBDtWkzgJfKVTWJHI7n9nMB3XbWSgd4gAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '935' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - ssqyqsy.0 - x-iot-version: - - 101719.0001-master - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-msedge-ref: - - 'Ref A: CBBB73B7294648C48EE5BC13B8D6F268 Ref B: SG2EDGE1007 Ref C: 2019-10-21T16:20:10Z' - x-xss-protection: - - 1; mode=block + x-ms-ests-server: + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK - request: - body: '{"name": "iotc-cli-test000002", "type": "IoTApps"}' + body: null headers: Accept: - application/json @@ -77,59 +69,37 @@ interactions: - iotcentral app create Connection: - keep-alive - Content-Length: - - '55' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -n -g --sku --subdomain + - -n -g --subdomain --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral/checkSubdomainAvailability?api-version=2018-09-01 + method: GET + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"nameAvailable":true}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-09T17:43:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - no-cache content-length: - - '22' + - '428' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:20:13 GMT - etag: - - W/"16-4/x+wI91pK3bZiWtoOg+Zr/n2HE" + - Thu, 09 Jan 2020 17:43:34 GMT + expires: + - '-1' + pragma: + - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '936' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - 1nm9guv1.0 - x-iot-version: - - 101719.0001-master - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - x-msedge-ref: - - 'Ref A: 4A7F2EA6A3F44BC4B823AF7DC89023E6 Ref B: SG2EDGE1109 Ref C: 2019-10-21T16:20:13Z' - x-xss-protection: - - 1; mode=block status: code: 200 message: OK @@ -137,50 +107,64 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Charset: + - utf-8 Accept-Encoding: - gzip, deflate - CommandName: - - iotcentral app create Connection: - keep-alive - ParameterSetName: - - -n -g --sku --subdomain User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-21T16:20:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' cache-control: - - no-cache + - private, max-age=86400 content-length: - - '428' + - '131' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:20:15 GMT - expires: - - '-1' - pragma: - - no-cache + - Thu, 09 Jan 2020 17:43:34 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AmPUjn8V7TZFvlaNaB1naaw; expires=Sat, 08-Feb-2020 17:43:34 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8eVFJdtZ7xWUzsGDUme8FVo0Oh8iDqs0zcM0baT-zEJJ5TWRrW8MQEROocCEdW3o18R4YoYt0gKU3sTd1TTEDEpVt2UTeoU8Vt6VBeofeTCVCKDP9_CyV2amyOaWvUozV7wg9bHAqdHDnLWL007eRkoypyMPWn5YWQQQong11WpwgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices status: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"displayName": "iotc-cli-test000002", - "subdomain": "iotc-cli-test000002"}, "sku": {"name": "S1"}}' + body: !!python/unicode '{"sku": {"name": "ST2"}, "properties": {"subdomain": "iotc-cli-test000002", + "displayName": "iotc-cli-test000002"}, "location": "eastus"}' headers: Accept: - application/json @@ -191,52 +175,50 @@ interactions: Connection: - keep-alive Content-Length: - - '145' + - '146' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n -g --sku --subdomain + - -n -g --subdomain --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"cd36259b-8948-40b1-95a8-c2a77361487b","state":"created","displayName":"iotc-cli-test000002","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2019-10-21T16:20:23.084Z","template":"iotc-default@1.0.0"},"sku":{"name":"S1"},"etag":"\"b1047199-0000-0100-0000-5daddac70000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '694' + - '695' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:20:50 GMT + - Thu, 09 Jan 2020 17:43:43 GMT etag: - - '"b1047199-0000-0100-0000-5daddac70000"' + - '"03006a68-0000-0700-0000-5e17664c0000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '30456' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 4fa92aay.0 + - cifgrwyr.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-ms-ratelimit-remaining-subscription-writes: - - '1180' + - '1199' x-msedge-ref: - - 'Ref A: 00B4B513BCC44A20B702444017F2E01F Ref B: SG2EDGE0115 Ref C: 2019-10-21T16:20:20Z' + - 'Ref A: 8AB2307BAA934FCA8B375CB456409F43 Ref B: DB3EDGE1607 Ref C: 2020-01-09T17:43:38Z' x-xss-protection: - 1; mode=block status: @@ -246,63 +228,63 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Charset: + - utf-8 Accept-Encoding: - gzip, deflate - CommandName: - - iotcentral app create Connection: - keep-alive - ParameterSetName: - - -n -g --sku --subdomain User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"cd36259b-8948-40b1-95a8-c2a77361487b","state":"created","displayName":"iotc-cli-test000002","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2019-10-21T16:20:23.084Z","template":"iotc-default@1.0.0"},"sku":{"name":"S1"},"etag":"\"b1047199-0000-0100-0000-5daddac70000\""}' + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - private, max-age=86400 content-length: - - '694' + - '131' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:21:50 GMT - etag: - - W/"b1047199-0000-0100-0000-5daddac70000" + - Thu, 09 Jan 2020 17:44:12 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AlpPcSmF4YhOhCvYe1xlfTM; expires=Sat, 08-Feb-2020 17:44:13 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8LWH0id0nB781on1c_slVaMv0aU_bcIB20QM1azru_GiHXqWZT-9xsi3C20k_W63xqZi25zoIxtYiLkFtQ1kPvsHbGRsvqTOvOKgHUCzfmU7QBhx5OWSalJOlX8MwjQuYQcptr41C2XwFCDNGdHAMo1yRJHyrZa6OWbc0SJA7nfMgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '27145' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - j5956nl.0 - x-iot-version: - - 101719.0001-master - x-msedge-ref: - - 'Ref A: AF851C77A7BD473194C23F41C7506F7C Ref B: SG2EDGE1022 Ref C: 2019-10-21T16:21:23Z' - x-xss-protection: - - 1; mode=block + x-ms-ests-server: + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK - request: - body: '{"name": "iotc-cli-test000002-template", "type": "IoTApps"}' + body: null headers: Accept: - application/json @@ -312,126 +294,108 @@ interactions: - iotcentral app create Connection: - keep-alive - Content-Length: - - '64' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -n -g --sku --subdomain --template --display-name + - -n -g --subdomain --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral/checkNameAvailability?api-version=2018-09-01 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 + method: GET + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: '{"nameAvailable":true}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '22' + - '695' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:21:54 GMT + - Thu, 09 Jan 2020 17:44:15 GMT etag: - - W/"16-4/x+wI91pK3bZiWtoOg+Zr/n2HE" + - W/"03006a68-0000-0700-0000-5e17664c0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked vary: - - Accept-Encoding + - Accept-Encoding,Accept-Encoding x-content-type-options: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1631' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 5lkxa5kd.0 + - b45mkqo8.0 x-iot-version: - - 101719.0001-master - x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - 20200108.3-rd x-msedge-ref: - - 'Ref A: 5F8335BA3506494F8A25B438AA96EE81 Ref B: SG2EDGE0317 Ref C: 2019-10-21T16:21:53Z' + - 'Ref A: FAF11128B19144B88E070C970FC04189 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:44:15Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK - request: - body: '{"name": "iotc-cli-test000002-template", "type": "IoTApps"}' + body: null headers: Accept: - - application/json + - '*/*' + Accept-Charset: + - utf-8 Accept-Encoding: - gzip, deflate - CommandName: - - iotcentral app create Connection: - keep-alive - Content-Length: - - '64' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g --sku --subdomain --template --display-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral/checkSubdomainAvailability?api-version=2018-09-01 + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 response: body: - string: '{"nameAvailable":true}' + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - private, max-age=86400 content-length: - - '22' + - '131' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:21:57 GMT - etag: - - W/"16-4/x+wI91pK3bZiWtoOg+Zr/n2HE" + - Thu, 09 Jan 2020 17:44:17 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Ap-lETtEUuhAuDPx47tc58k; expires=Sat, 08-Feb-2020 17:44:18 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8CYjamrvtAzOQ27WrsqPyhosID-LYleS0HljCu9ubyo9YelhqikeAc2q3KvzAU1JuQDNCTIWT3v1-_II63hHh5rtXSVejlxDjVzpjFJe3cUXOhkdeyl8-LtHYi8WcuB2H-jqNp1YDhM9AWRYCbt8UgMLjRoN-iQgf20xX32BuwLYgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '932' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - 3jj3wrzj.0 - x-iot-version: - - 101719.0001-master - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-msedge-ref: - - 'Ref A: 4C65EAB377894EDE911F0D00ACEA5A48 Ref B: SG2EDGE0121 Ref C: 2019-10-21T16:21:57Z' - x-xss-protection: - - 1; mode=block + x-ms-ests-server: + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -447,17 +411,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --sku --subdomain --template --display-name + - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-21T16:20:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-09T17:43:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -466,7 +430,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:21:59 GMT + - Thu, 09 Jan 2020 17:44:18 GMT expires: - '-1' pragma: @@ -481,9 +445,68 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"displayName": "My Custom App Display - Name", "subdomain": "iotc-cli-test000002-template", "template": "iotc-devkit-sample@1.0.0"}, - "sku": {"name": "S1"}}' + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:44:18 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AttDwFXUTh5FoFuqMteeQdA; expires=Sat, 08-Feb-2020 17:44:19 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH87mVMl2-pKI9iogUnutvotf-rrcNg3boLRfxPFFX1h62oQpfopbQ5_avWdLqE6ZCnELJn_Ic_EgWcJ9jjUDPiF6wClgBO9x8ZnQMcZvBrvVLgKTz6QfknIRjgWPsRomY6Y-4g_CBoEzJOvPTWgReljxOhQCe_2UUFlrbyiR3v43sgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK +- request: + body: !!python/unicode '{"sku": {"name": "ST1"}, "properties": {"subdomain": "iotc-cli-test000002-template", + "displayName": "My Custom App Display Name", "template": "iotc-default@1.0.0"}, + "location": "eastus"}' headers: Accept: - application/json @@ -494,58 +517,115 @@ interactions: Connection: - keep-alive Content-Length: - - '196' + - '191' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n -g --sku --subdomain --template --display-name + - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"b519cede-4325-46f0-8afb-47f728a0ab12","state":"created","displayName":"My - Custom App Display Name","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2019-10-21T16:22:07.042Z","template":"iotc-devkit-sample@1.0.0"},"sku":{"name":"S1"},"etag":"\"b104ccbf-0000-0100-0000-5daddb2f0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '729' + - '724' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:22:17 GMT + - Thu, 09 Jan 2020 17:44:25 GMT etag: - - '"b104ccbf-0000-0100-0000-5daddb2f0000"' + - '"02002308-0000-0700-0000-5e1766780000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '14747' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - c53a64o9.0 + - 2nva0n53.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' x-msedge-ref: - - 'Ref A: FBD58C138C464B6BBCD20384424CB753 Ref B: SG2EDGE0317 Ref C: 2019-10-21T16:22:03Z' + - 'Ref A: E3433DB6C3F44F5C9023E9A1E0D46AA6 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:44:22Z' x-xss-protection: - 1; mode=block status: code: 201 message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:44:55 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AoOHZPrFkXBGvWH_GV6LcfM; expires=Sat, 08-Feb-2020 17:44:56 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH82h7VqSXdtOclQMO4l6LOjSdKNZ2pAi5-EdL97smfnUWiTcvsxJaITJDFH9GHEuaPT7XWRfYZ0sErosXS3zLPbBvoHzcRK-Z04D1lKidGFGGvWbVGOYgnn-lTl98mrRMQ3C9xcqqmF9bgVnfkoce6QCaaIvLt_Gsoe9TcUIn_Z8YgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -558,27 +638,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --sku --subdomain --template --display-name + - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"b519cede-4325-46f0-8afb-47f728a0ab12","state":"created","displayName":"My - Custom App Display Name","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2019-10-21T16:22:07.042Z","template":"iotc-devkit-sample@1.0.0"},"sku":{"name":"S1"},"etag":"\"b104ccbf-0000-0100-0000-5daddb2f0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '729' + - '724' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:22:51 GMT + - Thu, 09 Jan 2020 17:44:58 GMT etag: - - W/"b104ccbf-0000-0100-0000-5daddb2f0000" + - W/"02002308-0000-0700-0000-5e1766780000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -589,23 +669,80 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1156' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 4te57fmc.0 + - 8oi7oi1y.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-msedge-ref: - - 'Ref A: CE2DFD0B28934CB9A86C42E0B6A13846 Ref B: SG2EDGE0317 Ref C: 2019-10-21T16:22:50Z' + - 'Ref A: DE68ECCC68604216882D403AD37F5741 Ref B: DB3EDGE1507 Ref C: 2020-01-09T17:44:58Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:44:59 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Aly5hzswdAtAsmXCioZcPSM; expires=Sat, 08-Feb-2020 17:44:59 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8t8UBbYnN74pYDzGOoV_63extkGaJUnOtrQJR40_ObefR_JZwz25-DlHOywZmL5D2c00DqcsreFcx-rSE8IRMpHxqi9Hl8ia1Gyq0W5qGdEd2FxgurGdt9X5YsQ6tnkdIeKcTfvprKY-M9BXZfCHTqc7sP33dfpIt3B42wRFaZQcgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - WST ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -620,27 +757,27 @@ interactions: ParameterSetName: - -n -g --set User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"b519cede-4325-46f0-8afb-47f728a0ab12","state":"created","displayName":"My - Custom App Display Name","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2019-10-21T16:22:07.042Z","template":"iotc-devkit-sample@1.0.0"},"sku":{"name":"S1"},"etag":"\"b104ccbf-0000-0100-0000-5daddb2f0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '729' + - '724' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:22:54 GMT + - Thu, 09 Jan 2020 17:45:00 GMT etag: - - W/"b104ccbf-0000-0100-0000-5daddb2f0000" + - W/"02002308-0000-0700-0000-5e1766780000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -651,27 +788,84 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1155' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - b1zgagv0.0 + - 9zw5n71c.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-msedge-ref: - - 'Ref A: 41C62C7C86204B99A3746CBC9F539882 Ref B: SG2EDGE1114 Ref C: 2019-10-21T16:22:53Z' + - 'Ref A: 5EA7B2E381764CC085988A5B3F9B58B3 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:45:00Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"displayName": "iotc-cli-test000002update", - "subdomain": "iotc-cli-test000002update", "template": "iotc-devkit-sample@1.0.0"}, - "sku": {"name": "S1"}}' + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:45:00 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AnrigucpSzVDsLZQ_471XxU; expires=Sat, 08-Feb-2020 17:45:01 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8cd3FK9n0Gith-hBFSVhGFq4NXJoy9uOqF0mtW84WQ-Ul-ez6d9vAjz8Sv-myZXiBbPljBcWAareVHTY-TnYO19bE-h5USzPKkm99kqlKKaMtGyw6Kue-A9Fj1lzePc3TQ4cd06anP2dNnEjqb25Od43WLKZrp-2IZWXVNZsNWPcgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK +- request: + body: !!python/unicode '{"sku": {"name": "ST2"}, "location": "eastus", "properties": + {"subdomain": "iotc-cli-test000002update", "displayName": "iotc-cli-test000002update", + "template": "iotc-default@1.0.0"}, "tags": {}}' headers: Accept: - application/json @@ -682,34 +876,34 @@ interactions: Connection: - keep-alive Content-Length: - - '209' + - '204' Content-Type: - application/json; charset=utf-8 IF-MATCH: - - '"b104ccbf-0000-0100-0000-5daddb2f0000"' + - !!python/unicode '"02002308-0000-0700-0000-5e1766780000"' ParameterSetName: - -n -g --set User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"b519cede-4325-46f0-8afb-47f728a0ab12","state":"created","displayName":"iotc-cli-test000002update","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2019-10-21T16:22:07.042Z","lastUpdated":"2019-10-21T16:23:00.776Z","template":"iotc-devkit-sample@1.0.0"},"sku":{"name":"S1"},"etag":"\"b104dbe3-0000-0100-0000-5daddb650000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-09T17:44:24.020Z","lastUpdated":"2020-01-09T17:45:05.264Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200ce08-0000-0700-0000-5e1766a10000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '771' + - '766' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:03 GMT + - Thu, 09 Jan 2020 17:45:05 GMT etag: - - W/"b104dbe3-0000-0100-0000-5daddb650000" + - W/"0200ce08-0000-0700-0000-5e1766a10000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -720,25 +914,82 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '4544' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 1qk5b7rp.0 + - 3x21q4v6.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' x-msedge-ref: - - 'Ref A: A172644582B24A6D8AE8FF653251ACB4 Ref B: SG2EDGE0912 Ref C: 2019-10-21T16:22:57Z' + - 'Ref A: 645A4CB6C87A42908985CAA9E1B654B8 Ref B: DB3EDGE1618 Ref C: 2020-01-09T17:45:03Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:45:06 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AiH5dHldPCdPvWo1y4P6GdM; expires=Sat, 08-Feb-2020 17:45:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8XBoODubXbNsZJEkFqXbJFmfL8agFcoJaybBsja2HTweEKDIcmnIGGeaaDyegFFhytGQzjoa5V1OAWvpo94Sv_jc3U1yoRd4CtUBAtoSp5R5fgvCHh3tmEQrkiJK5YxUYpzG41VhY42SvqEcDqHHYfvUt15sgMilrAuRXf7ELlUAgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -753,26 +1004,26 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"cd36259b-8948-40b1-95a8-c2a77361487b","state":"created","displayName":"iotc-cli-test000002","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2019-10-21T16:20:23.084Z","template":"iotc-default@1.0.0"},"sku":{"name":"S1"},"etag":"\"b1047199-0000-0100-0000-5daddac70000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '694' + - '695' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:06 GMT + - Thu, 09 Jan 2020 17:45:09 GMT etag: - - W/"b1047199-0000-0100-0000-5daddac70000" + - W/"03006a68-0000-0700-0000-5e17664c0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -783,23 +1034,80 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1164' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 6n7pi5ty.0 + - 2x00qga9.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-msedge-ref: - - 'Ref A: B9818A975CD3420F8F2EAABA8A07708C Ref B: SG2EDGE0916 Ref C: 2019-10-21T16:23:06Z' + - 'Ref A: FA5BFF28ADC642D98ADF1FB308E706A2 Ref B: DB3EDGE1613 Ref C: 2020-01-09T17:45:09Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:45:09 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Ar18jfYFzcRFg4oA8hTRy_g; expires=Sat, 08-Feb-2020 17:45:10 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8RYuHRzwzalNn8zabnqGUxi1RbcXunUWz3J_y8sd1AYEIqhATEEl49fMLdOQPV8454vUA427PbP2-X9ud9nML1WWPOWJYz2hOImk2zjlnDBxEt-cgdUXHl1WYmS5Qdca5UhzTArwcOFtJefk67tZii3YSrnZea_aIqFRUTssilKIgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - WST ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -814,26 +1122,26 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"b519cede-4325-46f0-8afb-47f728a0ab12","state":"created","displayName":"iotc-cli-test000002update","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2019-10-21T16:22:07.042Z","lastUpdated":"2019-10-21T16:23:00.776Z","template":"iotc-devkit-sample@1.0.0"},"sku":{"name":"S1"},"etag":"\"b104dbe3-0000-0100-0000-5daddb650000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-09T17:44:24.020Z","lastUpdated":"2020-01-09T17:45:05.264Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200ce08-0000-0700-0000-5e1766a10000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '771' + - '766' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:10 GMT + - Thu, 09 Jan 2020 17:45:11 GMT etag: - - W/"b104dbe3-0000-0100-0000-5daddb650000" + - W/"0200ce08-0000-0700-0000-5e1766a10000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -844,23 +1152,80 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1181' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 5gwwnzf8.0 + - 2fgu9cmu.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-msedge-ref: - - 'Ref A: 3187C5B27F64419E84759F5C8696586F Ref B: SG2EDGE0912 Ref C: 2019-10-21T16:23:09Z' + - 'Ref A: 4896ECC71F524559B4FA2B782374CFA1 Ref B: DB3EDGE1510 Ref C: 2020-01-09T17:45:12Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:45:12 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AiGhDZxnitNKsuqfCyySsCM; expires=Sat, 08-Feb-2020 17:45:12 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8oCQaQ6KVfH3s2-i-UxUtdhX7maFapxyvqB_yNdiwzdVQikHYhEMhJ9u5w_SyMUMIflr6Wqq0HWnPR5K-oRh59A--d8r7bTY-LZkmUOIGjST2ulAfNseCvDODzCSuAJbF_NDtnXggSSKO1DdQUpgwrtztSuzI7OypFW3B5UjMHnggAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -877,46 +1242,141 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: '' + string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request + timed out. Diagnostic information: timestamp ''20200109T174619Z'', subscription + id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''3c7f9e79-a928-474b-ac49-69693d89d788'', + request correlation id ''3c7f9e79-a928-474b-ac49-69693d89d788''."}}' headers: cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - no-cache + connection: + - close content-length: - - '0' + - '294' content-type: - - text/plain + - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:16 GMT + - Thu, 09 Jan 2020 17:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 503 + message: Service Unavailable +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iotcentral app delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g + User-Agent: + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 + accept-language: + - en-US + method: DELETE + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + response: + body: + string: !!python/unicode + headers: + cache-control: + - no-cache + date: + - Thu, 09 Jan 2020 17:46:21 GMT + expires: + - '-1' + pragma: + - no-cache strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '2425' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - 30gv78wh.0 - x-iot-version: - - 101719.0001-master x-ms-ratelimit-remaining-subscription-deletes: - - '14996' - x-msedge-ref: - - 'Ref A: 054729708D6A418C9055D0D1EB31D124 Ref B: SG2EDGE1007 Ref C: 2019-10-21T16:23:13Z' - x-xss-protection: - - 1; mode=block + - '14999' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:46:22 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AjGTZHXeV6ZEqBcZytRA2kg; expires=Sat, 08-Feb-2020 17:46:22 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8uoa6JTAZMJY5pPcwczB5qBXDQE2xv4rOIcQYVFHSekrQ9q8KycCOFcZsm3bFp6X2FZ5oKR1H2DMxsYVtZQOgOpf8hPwFLhMZ1uPbcCaKDDIgTFiPi07pOBnz1xew5YdV0ISBRbwbxCo5l4I5LEc_d-xoIYtqhpfLLkQjAetFxlsgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices status: code: 200 message: OK @@ -934,26 +1394,26 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"cd36259b-8948-40b1-95a8-c2a77361487b","state":"created","displayName":"iotc-cli-test000002","tenant":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2019-10-21T16:20:23.084Z","template":"iotc-default@1.0.0"},"sku":{"name":"S1"},"etag":"\"b1047199-0000-0100-0000-5daddac70000\""}],"nextLink":null}' + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}],"nextLink":null}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '722' + - '723' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:20 GMT + - Thu, 09 Jan 2020 17:46:25 GMT etag: - - W/"2d2-D/JuZaA6ZD9I6S6iQV1lcy7EBQU" + - W/"2d3-QeO3vuDlHJIQDhJM/SvGBY3ZiTI" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -964,23 +1424,80 @@ interactions: - nosniff x-download-options: - noopen - x-envoy-upstream-service-time: - - '1158' x-frame-options: - deny x-iot-cluster: - - iotcprodsoutheastasia01 + - iotcrd01eastus02 x-iot-correlation: - - 875slvti.0 + - 54buuoqu.0 x-iot-version: - - 101719.0001-master + - 20200108.3-rd x-msedge-ref: - - 'Ref A: 029D3E86B53A486EA86C169FE635615B Ref B: SG2EDGE0109 Ref C: 2019-10-21T16:23:19Z' + - 'Ref A: 06868108B1874E329CA655B84B3AC710 Ref B: DB3EDGE1220 Ref C: 2020-01-09T17:46:24Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Charset: + - utf-8 + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + return-client-request-id: + - 'true' + x-client-CPU: + - x86 + x-client-OS: + - win32 + x-client-SKU: + - Python + x-client-Ver: + - 1.2.2 + method: GET + uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 + response: + body: + string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - private, max-age=86400 + content-length: + - '131' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 09 Jan 2020 17:46:25 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AgoG-03z2TVHhtsGDOQRHUA; expires=Sat, 08-Feb-2020 17:46:25 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8GBGBcmcLP4eU2NfOI4rY3BCbrqozKyeqeDzHgv2xnyA5ldGdmPqZgGyWz9fUrOfkhbsyjvrUin4Fcwb6QvG2OidRGVIOqXWVULNhFAUaSAHB_OsBwG3-6t_NT6xMVfkzOt1BpxCZFLlMmgmvJnWUETcvDCq_MSX9b55UsYA4yy4gAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly + - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.9898.10 - SAN ProdSlices + status: + code: 200 + message: OK - request: body: null headers: @@ -997,47 +1514,83 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-iotcentral/1.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: '' + string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request + timed out. Diagnostic information: timestamp ''20200109T174730Z'', subscription + id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''1e606490-75a4-426e-9339-37c2c0fc827a'', + request correlation id ''1e606490-75a4-426e-9339-37c2c0fc827a''."}}' headers: cache-control: - - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 + - no-cache + connection: + - close content-length: - - '0' + - '294' content-type: - - text/plain + - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:23:27 GMT + - Thu, 09 Jan 2020 17:47:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 503 + message: Service Unavailable +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iotcentral app delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g + User-Agent: + - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 + Azure-SDK-For-Python AZURECLI/2.0.79 + accept-language: + - en-US + method: DELETE + uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + response: + body: + string: !!python/unicode + headers: + cache-control: + - no-cache + date: + - Thu, 09 Jan 2020 17:47:32 GMT + expires: + - '-1' + pragma: + - no-cache strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-download-options: - - noopen - x-envoy-upstream-service-time: - - '3337' - x-frame-options: - - deny - x-iot-cluster: - - iotcprodsoutheastasia01 - x-iot-correlation: - - bea4pyvj.0 - x-iot-version: - - 101719.0001-master x-ms-ratelimit-remaining-subscription-deletes: - '14999' - x-msedge-ref: - - 'Ref A: 500AC2464CFF41B082158632E7AED8CE Ref B: SG2EDGE0916 Ref C: 2019-10-21T16:23:23Z' - x-xss-protection: - - 1; mode=block status: - code: 200 - message: OK + code: 204 + message: No Content version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py index ae6d9cd50b2..cc01aee87ac 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py @@ -15,34 +15,35 @@ def test_iotcentral_app(self, resource_group, resource_group_location): template_app_display_name = "My Custom App Display Name" rg = resource_group location = resource_group_location - template = 'iotc-devkit-sample@1.0.0' + template = 'iotc-default@1.0.0' updatedName = app_name + 'update' # Test 'az iotcentral app create' - self.cmd('iotcentral app create -n {0} -g {1} --sku S1 --subdomain {2}'.format(app_name, rg, app_name), checks=[ + self.cmd('iotcentral app create -n {0} -g {1} --subdomain {2} --sku {3}'.format(app_name, rg, app_name, 'ST2'), checks=[ self.check('resourceGroup', rg), self.check('location', location), self.check('subdomain', app_name), self.check('displayName', app_name), - self.check('sku.name', 'S1')]) + self.check('sku.name', 'ST2')]) # Test 'az iotcentral app create with template and display name' - self.cmd('iotcentral app create -n {0} -g {1} --sku S1 --subdomain {2} --template {3} --display-name \"{4}\"' - .format(template_app_name, rg, template_app_name, template, template_app_display_name), checks=[ + self.cmd('iotcentral app create -n {0} -g {1} --subdomain {2} --template {3} --display-name \"{4}\" --sku {5}' + .format(template_app_name, rg, template_app_name, template, template_app_display_name, 'ST1'), checks=[ self.check('resourceGroup', rg), self.check('location', location), self.check('subdomain', template_app_name), self.check('displayName', template_app_display_name), - self.check('sku.name', 'S1'), + self.check('sku.name', 'ST1'), self.check('template', template)]) # Test 'az iotcentral app update' - self.cmd('iotcentral app update -n {0} -g {1} --set displayName={2} subdomain={3}' - .format(template_app_name, rg, updatedName, updatedName), checks=[ + self.cmd('iotcentral app update -n {0} -g {1} --set displayName={2} subdomain={3} sku.name={4}' + .format(template_app_name, rg, updatedName, updatedName, 'ST2'), checks=[ self.check('resourceGroup', rg), self.check('location', location), self.check('subdomain', updatedName), - self.check('displayName', updatedName)]) + self.check('displayName', updatedName), + self.check('sku.name', 'ST2')]) # Test 'az iotcentral app show' self.cmd('iotcentral app show -n {0} -g {1}'.format(app_name, rg), checks=[ @@ -50,7 +51,7 @@ def test_iotcentral_app(self, resource_group, resource_group_location): self.check('location', location), self.check('subdomain', app_name), self.check('displayName', app_name), - self.check('sku.name', 'S1')]) + self.check('sku.name', 'ST2')]) # Test 'az iotcentral app show with template and display name' self.cmd('iotcentral app show -n {0} -g {1}'.format(template_app_name, rg), checks=[ @@ -58,7 +59,7 @@ def test_iotcentral_app(self, resource_group, resource_group_location): self.check('location', location), self.check('subdomain', updatedName), self.check('displayName', updatedName), - self.check('sku.name', 'S1'), + self.check('sku.name', 'ST2'), self.check('template', template)]) # Test 'az iotcentral app delete with template and display name' @@ -72,7 +73,7 @@ def test_iotcentral_app(self, resource_group, resource_group_location): self.check('[0].location', location), self.check('[0].subdomain', app_name), self.check('[0].displayName', app_name), - self.check('[0].sku.name', 'S1')]) + self.check('[0].sku.name', 'ST2')]) # Test 'az iotcentral app delete' self.cmd('iotcentral app delete -n {0} -g {1}'.format(app_name, rg), checks=[ diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 19ad93dc58a..15280a25bde 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -90,7 +90,7 @@ 'azure-mgmt-eventhub~=2.6', 'azure-mgmt-hdinsight~=1.3.0', 'azure-mgmt-imagebuilder~=0.2.1', - 'azure-mgmt-iotcentral~=1.0', + 'azure-mgmt-iotcentral~=2.0.0', 'azure-mgmt-iothub~=0.8.2', 'azure-mgmt-iothubprovisioningservices~=0.2.0', 'azure-mgmt-keyvault~=1.1', From 23b3e0df9dbd59d689680ecd544d9d7cde4fec44 Mon Sep 17 00:00:00 2001 From: poanchen Date: Thu, 9 Jan 2020 13:50:43 -0800 Subject: [PATCH 2/5] update the version in requirments txt --- src/azure-cli/requirements.py2.Darwin.txt | 2 +- src/azure-cli/requirements.py2.Linux.txt | 2 +- src/azure-cli/requirements.py2.windows.txt | 2 +- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/azure-cli/requirements.py2.Darwin.txt b/src/azure-cli/requirements.py2.Darwin.txt index c3b7d3d38c3..d07139960de 100644 --- a/src/azure-cli/requirements.py2.Darwin.txt +++ b/src/azure-cli/requirements.py2.Darwin.txt @@ -44,7 +44,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 diff --git a/src/azure-cli/requirements.py2.Linux.txt b/src/azure-cli/requirements.py2.Linux.txt index c3b7d3d38c3..d07139960de 100644 --- a/src/azure-cli/requirements.py2.Linux.txt +++ b/src/azure-cli/requirements.py2.Linux.txt @@ -44,7 +44,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 diff --git a/src/azure-cli/requirements.py2.windows.txt b/src/azure-cli/requirements.py2.windows.txt index 38d2228d42b..6e421fe963a 100644 --- a/src/azure-cli/requirements.py2.windows.txt +++ b/src/azure-cli/requirements.py2.windows.txt @@ -43,7 +43,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 73300b908dc..5c25c9d4118 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -44,7 +44,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 73300b908dc..5c25c9d4118 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -44,7 +44,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 5f67fb995b9..a46a56e79be 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -43,7 +43,7 @@ azure-mgmt-eventgrid==2.2.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hdinsight==1.3.0 azure-mgmt-imagebuilder==0.2.1 -azure-mgmt-iotcentral==1.0.0 +azure-mgmt-iotcentral==2.0.0 azure-mgmt-iothub==0.8.2 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 From 97d90cbcb7cdc66c51c81f5edecff6af6b67cb53 Mon Sep 17 00:00:00 2001 From: poanchen Date: Thu, 9 Jan 2020 21:43:20 -0800 Subject: [PATCH 3/5] revert preparers.py, add eastus as location to decorator, regenerate the session yml --- .../azure/cli/testsdk/preparers.py | 2 +- .../recordings/test_iotcentral_app.yaml | 242 +++++++++--------- .../tests/latest/test_iotcentral_commands.py | 2 +- 3 files changed, 123 insertions(+), 123 deletions(-) diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py index b4030113490..f66320c6a98 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py @@ -46,7 +46,7 @@ def live_only_execute(self, cli_ctx, command, expect_failure=False): class ResourceGroupPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): def __init__(self, name_prefix='clitest.rg', parameter_name='resource_group', - parameter_name_for_location='resource_group_location', location='eastus', + parameter_name_for_location='resource_group_location', location='westus', dev_setting_name='AZURE_CLI_TEST_DEV_RESOURCE_GROUP_NAME', dev_setting_location='AZURE_CLI_TEST_DEV_RESOURCE_GROUP_LOCATION', random_name_length=75, key='rg'): diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml index d8e01f2798f..ed309e7233b 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml @@ -39,13 +39,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:43:32 GMT + - Fri, 10 Jan 2020 05:34:06 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=Aiy11hFLhfpFlZKtikyNeqI; expires=Sat, 08-Feb-2020 17:43:32 GMT; path=/; + - fpc=AoBMDNXKnslPnFI_RcDiZ08; expires=Sun, 09-Feb-2020 05:34:07 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8FyBq06r_WVGhDpy3x9qPSrxvkZ2zmG0gKBqTEAnlUbMEBZq8z0Q9YqbhlL_ulxPsecsfX6fFZ_ciCK6VsbsF0ZiVPTb2REtMSkagyJV_MLSBbfgiGKDDY6QZMwDbXO9jvmMJaTuGHsY9KBDtWkzgJfKVTWJHI7n9nMB3XbWSgd4gAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8toTwHrlOpDsOj31IyRMRYOU2_g0mCZHsYh0hVdCcDe7fh-Zxvxu5Iee7lHF_49FfN5iSyehe2T-VvEctD-zTalcXOk7aEHEHSjj6gKF87Njc0tXgOoOS0UWba8J10WFLbzLmh7vpF9_2mESmvYB8KkHTttk7vh2_BJUbSb-nv3YgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -54,7 +54,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices + - 2.1.9898.10 - SAN ProdSlices status: code: 200 message: OK @@ -80,7 +80,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-09T17:43:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-10T05:33:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -89,7 +89,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:43:34 GMT + - Fri, 10 Jan 2020 05:34:08 GMT expires: - '-1' pragma: @@ -143,13 +143,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:43:34 GMT + - Fri, 10 Jan 2020 05:34:09 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AmPUjn8V7TZFvlaNaB1naaw; expires=Sat, 08-Feb-2020 17:43:34 GMT; path=/; + - fpc=Atz5HVSuJU1NkhvvOrYoPtY; expires=Sun, 09-Feb-2020 05:34:09 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8eVFJdtZ7xWUzsGDUme8FVo0Oh8iDqs0zcM0baT-zEJJ5TWRrW8MQEROocCEdW3o18R4YoYt0gKU3sTd1TTEDEpVt2UTeoU8Vt6VBeofeTCVCKDP9_CyV2amyOaWvUozV7wg9bHAqdHDnLWL007eRkoypyMPWn5YWQQQong11WpwgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8XUVzhAYVu8zaYudxp5ILWlTsRTPQ4R1ECf0w8LGsZpezH-raJ15yDfwdG6qZBdZ4sG4Zg3Lz75B9_VV951vDJmGHQhG-XCDnYOfGKhgmTkz9CdplnSJIHXfvDkI_biEeDDkIpmDZhUsK5Nvi0MRhXnZbckpbS9gIH8Z0QBlMOmkgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -189,7 +189,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -198,9 +198,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:43:43 GMT + - Fri, 10 Jan 2020 05:34:18 GMT etag: - - '"03006a68-0000-0700-0000-5e17664c0000"' + - '"0200f60e-0000-0700-0000-5e180cd70000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -212,13 +212,13 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - cifgrwyr.0 + - 87s8ktpw.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 8AB2307BAA934FCA8B375CB456409F43 Ref B: DB3EDGE1607 Ref C: 2020-01-09T17:43:38Z' + - 'Ref A: 887B840AA18A4AA282AD595DDF6052FF Ref B: DB3EDGE1621 Ref C: 2020-01-10T05:34:13Z' x-xss-protection: - 1; mode=block status: @@ -264,13 +264,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:12 GMT + - Fri, 10 Jan 2020 05:34:48 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AlpPcSmF4YhOhCvYe1xlfTM; expires=Sat, 08-Feb-2020 17:44:13 GMT; path=/; + - fpc=AhWo4tFMFGxIngg6Lnrr6Pk; expires=Sun, 09-Feb-2020 05:34:49 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8LWH0id0nB781on1c_slVaMv0aU_bcIB20QM1azru_GiHXqWZT-9xsi3C20k_W63xqZi25zoIxtYiLkFtQ1kPvsHbGRsvqTOvOKgHUCzfmU7QBhx5OWSalJOlX8MwjQuYQcptr41C2XwFCDNGdHAMo1yRJHyrZa6OWbc0SJA7nfMgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8cHE-ncE3L0pcdgA7JQ3Svx39df-g2ihs5HIMJZJ-lAaMlLbfpCGEt_Gj1hsWudKmWReyHCag7HnMP9LsH8XGQNnZyv7jdfaf-fqVy8YLh6n7-GzyED3e6ALBBz2X6sr0HyoT5vFQKw1MwsJsUkCYPL43roQSLSzTf7up_OLP8B4gAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -279,7 +279,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices + - 2.1.9898.10 - SAN ProdSlices status: code: 200 message: OK @@ -303,7 +303,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -312,9 +312,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:15 GMT + - Fri, 10 Jan 2020 05:34:50 GMT etag: - - W/"03006a68-0000-0700-0000-5e17664c0000" + - W/"0200f60e-0000-0700-0000-5e180cd70000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -330,11 +330,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - b45mkqo8.0 + - 380jak79.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: FAF11128B19144B88E070C970FC04189 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:44:15Z' + - 'Ref A: 7592B55FFD924FA8B9A3A3D72CB0E9F3 Ref B: DB3EDGE1621 Ref C: 2020-01-10T05:34:49Z' x-xss-protection: - 1; mode=block status: @@ -380,13 +380,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:17 GMT + - Fri, 10 Jan 2020 05:34:50 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=Ap-lETtEUuhAuDPx47tc58k; expires=Sat, 08-Feb-2020 17:44:18 GMT; path=/; + - fpc=An4jTzjpBypHv3idCbbmizo; expires=Sun, 09-Feb-2020 05:34:51 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8CYjamrvtAzOQ27WrsqPyhosID-LYleS0HljCu9ubyo9YelhqikeAc2q3KvzAU1JuQDNCTIWT3v1-_II63hHh5rtXSVejlxDjVzpjFJe3cUXOhkdeyl8-LtHYi8WcuB2H-jqNp1YDhM9AWRYCbt8UgMLjRoN-iQgf20xX32BuwLYgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8rB7VTbEQ7kE9idz5541SLp2L2lCrwIj03j0BFlhih7W2Ujos_BWvn7LNGusjffJ2q8_3yGuunDVFR_EUL2DlCXO3WYag-mMu_yXt0UEqBiFGM-DoUUDXztlVNrIYWypsjT9d7O2GkoVvZha3od7wXwyQjBpKiTj2Tlg22YBae4ggAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -421,7 +421,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-09T17:43:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-10T05:33:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -430,7 +430,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:18 GMT + - Fri, 10 Jan 2020 05:34:53 GMT expires: - '-1' pragma: @@ -484,13 +484,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:18 GMT + - Fri, 10 Jan 2020 05:34:52 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AttDwFXUTh5FoFuqMteeQdA; expires=Sat, 08-Feb-2020 17:44:19 GMT; path=/; + - fpc=Arj5uFjtclJOrtRqj7T6qOc; expires=Sun, 09-Feb-2020 05:34:53 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH87mVMl2-pKI9iogUnutvotf-rrcNg3boLRfxPFFX1h62oQpfopbQ5_avWdLqE6ZCnELJn_Ic_EgWcJ9jjUDPiF6wClgBO9x8ZnQMcZvBrvVLgKTz6QfknIRjgWPsRomY6Y-4g_CBoEzJOvPTWgReljxOhQCe_2UUFlrbyiR3v43sgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8CbvqziGw8IneQapNOA-NPNddjBTi6pT8U0FEMMWzclbSQ6OkAUtf42c_84Lm8wFr5zE6vJfKcB4VdxcIptQ8ZXmK0PgReLLsb_p2yUFWGogyd9HgYWyIlrYCliL5XKxz86JGz0T_6-nc_d72zenmPBWmrwx9PlG6zDkZNEp9twEgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -531,8 +531,8 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -541,9 +541,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:25 GMT + - Fri, 10 Jan 2020 05:34:59 GMT etag: - - '"02002308-0000-0700-0000-5e1766780000"' + - '"08003e23-0000-0700-0000-5e180d010000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -555,13 +555,13 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 2nva0n53.0 + - 1ejj3b3h.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-msedge-ref: - - 'Ref A: E3433DB6C3F44F5C9023E9A1E0D46AA6 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:44:22Z' + - 'Ref A: 292059563B6B46D7BF12BA8957E18484 Ref B: DB3EDGE1520 Ref C: 2020-01-10T05:34:55Z' x-xss-protection: - 1; mode=block status: @@ -607,13 +607,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:55 GMT + - Fri, 10 Jan 2020 05:35:29 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AoOHZPrFkXBGvWH_GV6LcfM; expires=Sat, 08-Feb-2020 17:44:56 GMT; path=/; + - fpc=AlvCkEtoqfJOheaLNSr-n3g; expires=Sun, 09-Feb-2020 05:35:30 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH82h7VqSXdtOclQMO4l6LOjSdKNZ2pAi5-EdL97smfnUWiTcvsxJaITJDFH9GHEuaPT7XWRfYZ0sErosXS3zLPbBvoHzcRK-Z04D1lKidGFGGvWbVGOYgnn-lTl98mrRMQ3C9xcqqmF9bgVnfkoce6QCaaIvLt_Gsoe9TcUIn_Z8YgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8bEiNMkVL-Bvu4FhhndTwVN8QP_CkqV1WGwEcSuzZCyDmiCYMubqK2sP-u2gMBvsjkV_M4pWBWaQkfiI2K6Lwr40kQa24NyTgx4N_V7rfTrCQOa3tLCTfTvjpr4MnRAQFO4XlmQkopgxyuVsZXbE1PIC5q39beN81eYIChhBmMhkgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -622,7 +622,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -646,8 +646,8 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -656,9 +656,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:58 GMT + - Fri, 10 Jan 2020 05:35:31 GMT etag: - - W/"02002308-0000-0700-0000-5e1766780000" + - W/"08003e23-0000-0700-0000-5e180d010000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -674,11 +674,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 8oi7oi1y.0 + - bve8l19c.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: DE68ECCC68604216882D403AD37F5741 Ref B: DB3EDGE1507 Ref C: 2020-01-09T17:44:58Z' + - 'Ref A: 129F639E48AE4450A5FBBBBEBA9FC05B Ref B: DB3EDGE1610 Ref C: 2020-01-10T05:35:31Z' x-xss-protection: - 1; mode=block status: @@ -724,13 +724,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:44:59 GMT + - Fri, 10 Jan 2020 05:35:32 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=Aly5hzswdAtAsmXCioZcPSM; expires=Sat, 08-Feb-2020 17:44:59 GMT; path=/; + - fpc=Agaa9jEPgF5Dh6WE41tprmw; expires=Sun, 09-Feb-2020 05:35:33 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8t8UBbYnN74pYDzGOoV_63extkGaJUnOtrQJR40_ObefR_JZwz25-DlHOywZmL5D2c00DqcsreFcx-rSE8IRMpHxqi9Hl8ia1Gyq0W5qGdEd2FxgurGdt9X5YsQ6tnkdIeKcTfvprKY-M9BXZfCHTqc7sP33dfpIt3B42wRFaZQcgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8BYR2Tc7NsezjuxwWD6p9KgZXhDSrbyIGWdI1h4yDGohOVLZR2gXUOgZqMqlFD7uJL5_BmpGOxI6TGQPO-lFWH51FXAqSOgaCLqq2fSJJ946OgtrVWOIRguJ2ZGJOXsRdRlclZXUAjQN49_vOpojLqDkG58-NSNKYVNZeFxvc1pYgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -739,7 +739,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices + - 2.1.9898.10 - SAN ProdSlices status: code: 200 message: OK @@ -765,8 +765,8 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-09T17:44:24.020Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"02002308-0000-0700-0000-5e1766780000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My + Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -775,9 +775,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:00 GMT + - Fri, 10 Jan 2020 05:35:33 GMT etag: - - W/"02002308-0000-0700-0000-5e1766780000" + - W/"08003e23-0000-0700-0000-5e180d010000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -793,11 +793,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 9zw5n71c.0 + - 75wlmzl0.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: 5EA7B2E381764CC085988A5B3F9B58B3 Ref B: DB3EDGE1522 Ref C: 2020-01-09T17:45:00Z' + - 'Ref A: 177860A41F3B4F0AAB9DC67C3FF39E92 Ref B: DB3EDGE1610 Ref C: 2020-01-10T05:35:33Z' x-xss-protection: - 1; mode=block status: @@ -843,13 +843,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:00 GMT + - Fri, 10 Jan 2020 05:35:34 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AnrigucpSzVDsLZQ_471XxU; expires=Sat, 08-Feb-2020 17:45:01 GMT; path=/; + - fpc=AgxdoFnxTO9Di_Z5Jt6dw2M; expires=Sun, 09-Feb-2020 05:35:34 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8cd3FK9n0Gith-hBFSVhGFq4NXJoy9uOqF0mtW84WQ-Ul-ez6d9vAjz8Sv-myZXiBbPljBcWAareVHTY-TnYO19bE-h5USzPKkm99kqlKKaMtGyw6Kue-A9Fj1lzePc3TQ4cd06anP2dNnEjqb25Od43WLKZrp-2IZWXVNZsNWPcgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8sY4g2H8OwgvlmEXPJ-W_ThYV61p7cL9W5r1DV-xK35By7sDY4hzeCT8rUUBLfbUdSt28kbCSCI8HRF_IAIkNJNORR9-2CP8IcJlk5gAddBgMDmbmPqPwlh12MUSoUqARb0AcMQkHMMPZfitxXqbgja4Vke5q2Uh4LZyzWBHi5-0gAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -858,7 +858,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -880,7 +880,7 @@ interactions: Content-Type: - application/json; charset=utf-8 IF-MATCH: - - !!python/unicode '"02002308-0000-0700-0000-5e1766780000"' + - !!python/unicode '"08003e23-0000-0700-0000-5e180d010000"' ParameterSetName: - -n -g --set User-Agent: @@ -892,7 +892,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-09T17:44:24.020Z","lastUpdated":"2020-01-09T17:45:05.264Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200ce08-0000-0700-0000-5e1766a10000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-10T05:34:57.115Z","lastUpdated":"2020-01-10T05:35:38.677Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0800b823-0000-0700-0000-5e180d2a0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -901,9 +901,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:05 GMT + - Fri, 10 Jan 2020 05:35:39 GMT etag: - - W/"0200ce08-0000-0700-0000-5e1766a10000" + - W/"0800b823-0000-0700-0000-5e180d2a0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -919,13 +919,13 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 3x21q4v6.0 + - 3xd00ccx.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 645A4CB6C87A42908985CAA9E1B654B8 Ref B: DB3EDGE1618 Ref C: 2020-01-09T17:45:03Z' + - 'Ref A: 2D46EEEF1EA2420B96E34EA16DEFCB33 Ref B: DB3EDGE1007 Ref C: 2020-01-10T05:35:37Z' x-xss-protection: - 1; mode=block status: @@ -971,13 +971,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:06 GMT + - Fri, 10 Jan 2020 05:35:39 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AiH5dHldPCdPvWo1y4P6GdM; expires=Sat, 08-Feb-2020 17:45:07 GMT; path=/; + - fpc=AsL63zrjB7pIiWVDsXsjsEM; expires=Sun, 09-Feb-2020 05:35:40 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8XBoODubXbNsZJEkFqXbJFmfL8agFcoJaybBsja2HTweEKDIcmnIGGeaaDyegFFhytGQzjoa5V1OAWvpo94Sv_jc3U1yoRd4CtUBAtoSp5R5fgvCHh3tmEQrkiJK5YxUYpzG41VhY42SvqEcDqHHYfvUt15sgMilrAuRXf7ELlUAgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8Oi3qV163w8tYfbH-4hJ7F8k2D_r4jRIdSprzeWeZhwm4xZFyjQf4xUarpRaypiL6CEaEDDn-T-flMl69ZqGoU4qoul6LvYq5S91Flroanp5oz4rAhccCJKQoLDZ4pZzu4eQTgW338B-RBdbKr5cxik__xM6-0YvZCm9d3mp7RGwgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -986,7 +986,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -1012,7 +1012,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1021,9 +1021,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:09 GMT + - Fri, 10 Jan 2020 05:35:43 GMT etag: - - W/"03006a68-0000-0700-0000-5e17664c0000" + - W/"0200f60e-0000-0700-0000-5e180cd70000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1039,11 +1039,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 2x00qga9.0 + - 6ya2kmt8.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: FA5BFF28ADC642D98ADF1FB308E706A2 Ref B: DB3EDGE1613 Ref C: 2020-01-09T17:45:09Z' + - 'Ref A: C38321BED9404F7FB61C787AC787D32D Ref B: DB3EDGE1614 Ref C: 2020-01-10T05:35:43Z' x-xss-protection: - 1; mode=block status: @@ -1089,13 +1089,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:09 GMT + - Fri, 10 Jan 2020 05:35:44 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=Ar18jfYFzcRFg4oA8hTRy_g; expires=Sat, 08-Feb-2020 17:45:10 GMT; path=/; + - fpc=AnYk5xvv1pdMgt7EYSEq-hI; expires=Sun, 09-Feb-2020 05:35:44 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8RYuHRzwzalNn8zabnqGUxi1RbcXunUWz3J_y8sd1AYEIqhATEEl49fMLdOQPV8454vUA427PbP2-X9ud9nML1WWPOWJYz2hOImk2zjlnDBxEt-cgdUXHl1WYmS5Qdca5UhzTArwcOFtJefk67tZii3YSrnZea_aIqFRUTssilKIgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8__AgmfFQKAGjGm8g72IGzy9Gg9509P_C5JsfS6Q9mhUgdQ9Hp5bb6YQyhfoERVccbJMbZALwK6WAGvCp-CZEOpvJFHb00phNBA71SucSN5DCL88Kw2B0eB1y38JkveXIbIcmzkHWQncIbyITdr4uvJj8gUkvRjZ1PGlDAQ57UqEgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -1130,7 +1130,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"087e69e2-dc4b-434d-9466-27bf5b5cf750","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-09T17:44:24.020Z","lastUpdated":"2020-01-09T17:45:05.264Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200ce08-0000-0700-0000-5e1766a10000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-10T05:34:57.115Z","lastUpdated":"2020-01-10T05:35:38.677Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0800b823-0000-0700-0000-5e180d2a0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1139,9 +1139,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:11 GMT + - Fri, 10 Jan 2020 05:35:46 GMT etag: - - W/"0200ce08-0000-0700-0000-5e1766a10000" + - W/"0800b823-0000-0700-0000-5e180d2a0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1157,11 +1157,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 2fgu9cmu.0 + - 6zazw0sf.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: 4896ECC71F524559B4FA2B782374CFA1 Ref B: DB3EDGE1510 Ref C: 2020-01-09T17:45:12Z' + - 'Ref A: DF9DA21E0A6540E68E06A6885213A81C Ref B: DB3EDGE0707 Ref C: 2020-01-10T05:35:46Z' x-xss-protection: - 1; mode=block status: @@ -1207,13 +1207,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:45:12 GMT + - Fri, 10 Jan 2020 05:35:46 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AiGhDZxnitNKsuqfCyySsCM; expires=Sat, 08-Feb-2020 17:45:12 GMT; path=/; + - fpc=AlAyicSRHyxHtG5_LoQS7bs; expires=Sun, 09-Feb-2020 05:35:47 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8oCQaQ6KVfH3s2-i-UxUtdhX7maFapxyvqB_yNdiwzdVQikHYhEMhJ9u5w_SyMUMIflr6Wqq0HWnPR5K-oRh59A--d8r7bTY-LZkmUOIGjST2ulAfNseCvDODzCSuAJbF_NDtnXggSSKO1DdQUpgwrtztSuzI7OypFW3B5UjMHnggAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8P9DjW_4PwE3BcD2o8Fhnk8bhTQz--bUteL27l3phm7t0uMQpaOjqK0og_wGXMX050LHAX2AxvXZmyd3ousBpie5RZSBEvzj1nV9yWb0Qj-g14Y2TnkK8cROxU3Df5mza420V6q2pBeJQtTH6Fp8g_2GBchADtEe7Z_5OlcMpiQogAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -1251,9 +1251,9 @@ interactions: response: body: string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request - timed out. Diagnostic information: timestamp ''20200109T174619Z'', subscription - id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''3c7f9e79-a928-474b-ac49-69693d89d788'', - request correlation id ''3c7f9e79-a928-474b-ac49-69693d89d788''."}}' + timed out. Diagnostic information: timestamp ''20200110T053653Z'', subscription + id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''dcbc020e-956d-4f75-9508-221d0452ad0b'', + request correlation id ''dcbc020e-956d-4f75-9508-221d0452ad0b''."}}' headers: cache-control: - no-cache @@ -1264,7 +1264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:46:19 GMT + - Fri, 10 Jan 2020 05:36:52 GMT expires: - '-1' pragma: @@ -1307,7 +1307,7 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jan 2020 17:46:21 GMT + - Fri, 10 Jan 2020 05:36:54 GMT expires: - '-1' pragma: @@ -1317,7 +1317,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 204 message: No Content @@ -1361,13 +1361,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:46:22 GMT + - Fri, 10 Jan 2020 05:36:54 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AjGTZHXeV6ZEqBcZytRA2kg; expires=Sat, 08-Feb-2020 17:46:22 GMT; path=/; + - fpc=Ahn3cUPI3-9KsZIsg4-zmsA; expires=Sun, 09-Feb-2020 05:36:55 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8uoa6JTAZMJY5pPcwczB5qBXDQE2xv4rOIcQYVFHSekrQ9q8KycCOFcZsm3bFp6X2FZ5oKR1H2DMxsYVtZQOgOpf8hPwFLhMZ1uPbcCaKDDIgTFiPi07pOBnz1xew5YdV0ISBRbwbxCo5l4I5LEc_d-xoIYtqhpfLLkQjAetFxlsgAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8U3hfxWe34jIU_AVmEsOufZHgDHwvsOiQtB3qSYbB2E1e9BwpKPhC7_25IunByQUFy7RQWs1VUvW_4EqgdKyeKbfQq_3_7XDN1SGeNvixlLSfxLISWFOhNJ4rqg-xxkHhPzp_NHNk1tUJH3p7oMT2RfXQWOUGHoy7qwEPaAO9JWYgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -1376,7 +1376,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -1402,7 +1402,7 @@ interactions: uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"34715012-3beb-4019-80a0-985f703478cb","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-09T17:43:40.365Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"03006a68-0000-0700-0000-5e17664c0000\""}],"nextLink":null}' + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}],"nextLink":null}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1411,9 +1411,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:46:25 GMT + - Fri, 10 Jan 2020 05:36:56 GMT etag: - - W/"2d3-QeO3vuDlHJIQDhJM/SvGBY3ZiTI" + - W/"2d3-mSK+Db4JbpKuSJOTPZIwKZlmSSA" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1429,11 +1429,11 @@ interactions: x-iot-cluster: - iotcrd01eastus02 x-iot-correlation: - - 54buuoqu.0 + - adcvuiqw.0 x-iot-version: - - 20200108.3-rd + - 20200110.1-rd x-msedge-ref: - - 'Ref A: 06868108B1874E329CA655B84B3AC710 Ref B: DB3EDGE1220 Ref C: 2020-01-09T17:46:24Z' + - 'Ref A: 94D5752C38894E97BD16678895EFCFFA Ref B: DB3EDGE1618 Ref C: 2020-01-10T05:36:56Z' x-xss-protection: - 1; mode=block status: @@ -1479,13 +1479,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:46:25 GMT + - Fri, 10 Jan 2020 05:36:56 GMT p3p: - CP="DSP CUR OTPi IND OTRi ONL FIN" set-cookie: - - fpc=AgoG-03z2TVHhtsGDOQRHUA; expires=Sat, 08-Feb-2020 17:46:25 GMT; path=/; + - fpc=AvukClhFfHxIjvQpn-R9Adc; expires=Sun, 09-Feb-2020 05:36:57 GMT; path=/; secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8GBGBcmcLP4eU2NfOI4rY3BCbrqozKyeqeDzHgv2xnyA5ldGdmPqZgGyWz9fUrOfkhbsyjvrUin4Fcwb6QvG2OidRGVIOqXWVULNhFAUaSAHB_OsBwG3-6t_NT6xMVfkzOt1BpxCZFLlMmgmvJnWUETcvDCq_MSX9b55UsYA4yy4gAA; + - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8J2f8je0PjxPzUgW9I4rO-m7J5gGH1DMjD0jzQVsMrj5zGPIeQ95ykMBDzGF3vaLdkjgB6lUTQetNVd3RtmFs42oPWM03p0Gfj46As3bxeMM1xiDOyesHyk2AJSeh2iGfG1qEI3ZunXIesDAI5zla1ZVhNePCEniBZKcB2gBUorQgAA; domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly @@ -1494,7 +1494,7 @@ interactions: x-content-type-options: - nosniff x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices + - 2.1.9898.10 - WST ProdSlices status: code: 200 message: OK @@ -1523,9 +1523,9 @@ interactions: response: body: string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request - timed out. Diagnostic information: timestamp ''20200109T174730Z'', subscription - id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''1e606490-75a4-426e-9339-37c2c0fc827a'', - request correlation id ''1e606490-75a4-426e-9339-37c2c0fc827a''."}}' + timed out. Diagnostic information: timestamp ''20200110T053804Z'', subscription + id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''432b0a31-9d74-4dca-b80d-897f670bb5e6'', + request correlation id ''432b0a31-9d74-4dca-b80d-897f670bb5e6''."}}' headers: cache-control: - no-cache @@ -1536,7 +1536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 09 Jan 2020 17:47:30 GMT + - Fri, 10 Jan 2020 05:38:03 GMT expires: - '-1' pragma: @@ -1579,7 +1579,7 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jan 2020 17:47:32 GMT + - Fri, 10 Jan 2020 05:38:05 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py index cc01aee87ac..b2ae0519a8c 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py @@ -8,7 +8,7 @@ class IoTCentralTest(ScenarioTest): - @ResourceGroupPreparer() # name_prefix not required, but can be useful + @ResourceGroupPreparer(location='eastus') # name_prefix not required, but can be useful def test_iotcentral_app(self, resource_group, resource_group_location): app_name = self.create_random_name(prefix='iotc-cli-test', length=24) template_app_name = app_name + '-template' From d8bffaa782f3b71b593d27d662f1f054884ae0dd Mon Sep 17 00:00:00 2001 From: poanchen Date: Mon, 13 Jan 2020 14:43:37 -0800 Subject: [PATCH 4/5] update the session yml to run against the prod env instead of the dogfood env --- .../recordings/test_iotcentral_app.yaml | 1139 +++-------------- 1 file changed, 157 insertions(+), 982 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml index ed309e7233b..f869e696c04 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml @@ -1,63 +1,4 @@ interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:34:06 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AoBMDNXKnslPnFI_RcDiZ08; expires=Sun, 09-Feb-2020 05:34:07 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8toTwHrlOpDsOj31IyRMRYOU2_g0mCZHsYh0hVdCcDe7fh-Zxvxu5Iee7lHF_49FfN5iSyehe2T-VvEctD-zTalcXOk7aEHEHSjj6gKF87Njc0tXgOoOS0UWba8J10WFLbzLmh7vpF9_2mESmvYB8KkHTttk7vh2_BJUbSb-nv3YgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -73,14 +14,14 @@ interactions: - -n -g --subdomain --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-10T05:33:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-13T22:33:01Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -89,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:34:08 GMT + - Mon, 13 Jan 2020 22:33:03 GMT expires: - '-1' pragma: @@ -103,65 +44,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:34:09 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=Atz5HVSuJU1NkhvvOrYoPtY; expires=Sun, 09-Feb-2020 05:34:09 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8XUVzhAYVu8zaYudxp5ILWlTsRTPQ4R1ECf0w8LGsZpezH-raJ15yDfwdG6qZBdZ4sG4Zg3Lz75B9_VV951vDJmGHQhG-XCDnYOfGKhgmTkz9CdplnSJIHXfvDkI_biEeDDkIpmDZhUsK5Nvi0MRhXnZbckpbS9gIH8Z0QBlMOmkgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: !!python/unicode '{"sku": {"name": "ST2"}, "properties": {"subdomain": "iotc-cli-test000002", "displayName": "iotc-cli-test000002"}, "location": "eastus"}' @@ -182,14 +64,14 @@ interactions: - -n -g --subdomain --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: PUT - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -198,91 +80,34 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:34:18 GMT + - Mon, 13 Jan 2020 22:33:11 GMT etag: - - '"0200f60e-0000-0700-0000-5e180cd70000"' + - '"3b000af4-0000-0100-0000-5e1cf0230000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '4509' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 87s8ktpw.0 + - 3f88jop8.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 887B840AA18A4AA282AD595DDF6052FF Ref B: DB3EDGE1621 Ref C: 2020-01-10T05:34:13Z' + - 'Ref A: 47B45CBA148740CFB080AD486822A456 Ref B: BY3EDGE0418 Ref C: 2020-01-13T22:33:06Z' x-xss-protection: - 1; mode=block status: code: 201 message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:34:48 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AhWo4tFMFGxIngg6Lnrr6Pk; expires=Sun, 09-Feb-2020 05:34:49 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8cHE-ncE3L0pcdgA7JQ3Svx39df-g2ihs5HIMJZJ-lAaMlLbfpCGEt_Gj1hsWudKmWReyHCag7HnMP9LsH8XGQNnZyv7jdfaf-fqVy8YLh6n7-GzyED3e6ALBBz2X6sr0HyoT5vFQKw1MwsJsUkCYPL43roQSLSzTf7up_OLP8B4gAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -298,12 +123,12 @@ interactions: - -n -g --subdomain --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -312,9 +137,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:34:50 GMT + - Mon, 13 Jan 2020 22:33:41 GMT etag: - - W/"0200f60e-0000-0700-0000-5e180cd70000" + - W/"3b000af4-0000-0100-0000-5e1cf0230000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -325,80 +150,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '349' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 380jak79.0 + - 1kaejy5z.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: 7592B55FFD924FA8B9A3A3D72CB0E9F3 Ref B: DB3EDGE1621 Ref C: 2020-01-10T05:34:49Z' + - 'Ref A: 193A8E55F0AF45A3B5C82831CB650760 Ref B: BY3EDGE0512 Ref C: 2020-01-13T22:33:41Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:34:50 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=An4jTzjpBypHv3idCbbmizo; expires=Sun, 09-Feb-2020 05:34:51 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8rB7VTbEQ7kE9idz5541SLp2L2lCrwIj03j0BFlhih7W2Ujos_BWvn7LNGusjffJ2q8_3yGuunDVFR_EUL2DlCXO3WYag-mMu_yXt0UEqBiFGM-DoUUDXztlVNrIYWypsjT9d7O2GkoVvZha3od7wXwyQjBpKiTj2Tlg22YBae4ggAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -414,14 +182,14 @@ interactions: - -n -g --subdomain --template --display-name --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-10T05:33:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-13T22:33:01Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -430,7 +198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:34:53 GMT + - Mon, 13 Jan 2020 22:33:42 GMT expires: - '-1' pragma: @@ -444,65 +212,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:34:52 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=Arj5uFjtclJOrtRqj7T6qOc; expires=Sun, 09-Feb-2020 05:34:53 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8CbvqziGw8IneQapNOA-NPNddjBTi6pT8U0FEMMWzclbSQ6OkAUtf42c_84Lm8wFr5zE6vJfKcB4VdxcIptQ8ZXmK0PgReLLsb_p2yUFWGogyd9HgYWyIlrYCliL5XKxz86JGz0T_6-nc_d72zenmPBWmrwx9PlG6zDkZNEp9twEgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: !!python/unicode '{"sku": {"name": "ST1"}, "properties": {"subdomain": "iotc-cli-test000002-template", "displayName": "My Custom App Display Name", "template": "iotc-default@1.0.0"}, @@ -524,15 +233,15 @@ interactions: - -n -g --subdomain --template --display-name --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: PUT - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -541,91 +250,34 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:34:59 GMT + - Mon, 13 Jan 2020 22:33:50 GMT etag: - - '"08003e23-0000-0700-0000-5e180d010000"' + - '"0000a381-0000-0100-0000-5e1cf04a0000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '4351' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 1ejj3b3h.0 + - b68893vi.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-msedge-ref: - - 'Ref A: 292059563B6B46D7BF12BA8957E18484 Ref B: DB3EDGE1520 Ref C: 2020-01-10T05:34:55Z' + - 'Ref A: D9E3E5D96CE842339CBE99768C23100C Ref B: BY3EDGE0315 Ref C: 2020-01-13T22:33:45Z' x-xss-protection: - 1; mode=block status: code: 201 message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:29 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AlvCkEtoqfJOheaLNSr-n3g; expires=Sun, 09-Feb-2020 05:35:30 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8bEiNMkVL-Bvu4FhhndTwVN8QP_CkqV1WGwEcSuzZCyDmiCYMubqK2sP-u2gMBvsjkV_M4pWBWaQkfiI2K6Lwr40kQa24NyTgx4N_V7rfTrCQOa3tLCTfTvjpr4MnRAQFO4XlmQkopgxyuVsZXbE1PIC5q39beN81eYIChhBmMhkgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -641,13 +293,13 @@ interactions: - -n -g --subdomain --template --display-name --sku User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -656,9 +308,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:35:31 GMT + - Mon, 13 Jan 2020 22:34:20 GMT etag: - - W/"08003e23-0000-0700-0000-5e180d010000" + - W/"0000a381-0000-0100-0000-5e1cf04a0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -669,80 +321,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '347' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - bve8l19c.0 + - 47icsf0x.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: 129F639E48AE4450A5FBBBBEBA9FC05B Ref B: DB3EDGE1610 Ref C: 2020-01-10T05:35:31Z' + - 'Ref A: 14875CF7C11D477EB4702B844A64F7CA Ref B: BY3EDGE0114 Ref C: 2020-01-13T22:34:20Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:32 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=Agaa9jEPgF5Dh6WE41tprmw; expires=Sun, 09-Feb-2020 05:35:33 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8BYR2Tc7NsezjuxwWD6p9KgZXhDSrbyIGWdI1h4yDGohOVLZR2gXUOgZqMqlFD7uJL5_BmpGOxI6TGQPO-lFWH51FXAqSOgaCLqq2fSJJ946OgtrVWOIRguJ2ZGJOXsRdRlclZXUAjQN49_vOpojLqDkG58-NSNKYVNZeFxvc1pYgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -758,15 +353,15 @@ interactions: - -n -g --set User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"My - Custom App Display Name","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-10T05:34:57.115Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"08003e23-0000-0700-0000-5e180d010000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -775,9 +370,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:35:33 GMT + - Mon, 13 Jan 2020 22:34:22 GMT etag: - - W/"08003e23-0000-0700-0000-5e180d010000" + - W/"0000a381-0000-0100-0000-5e1cf04a0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -788,80 +383,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '421' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 75wlmzl0.0 + - errfwoa.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: 177860A41F3B4F0AAB9DC67C3FF39E92 Ref B: DB3EDGE1610 Ref C: 2020-01-10T05:35:33Z' + - 'Ref A: 061D4BE43A1E41F3A46FD87A2D6C281C Ref B: BY3EDGE0520 Ref C: 2020-01-13T22:34:21Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:34 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AgxdoFnxTO9Di_Z5Jt6dw2M; expires=Sun, 09-Feb-2020 05:35:34 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8sY4g2H8OwgvlmEXPJ-W_ThYV61p7cL9W5r1DV-xK35By7sDY4hzeCT8rUUBLfbUdSt28kbCSCI8HRF_IAIkNJNORR9-2CP8IcJlk5gAddBgMDmbmPqPwlh12MUSoUqARb0AcMQkHMMPZfitxXqbgja4Vke5q2Uh4LZyzWBHi5-0gAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: !!python/unicode '{"sku": {"name": "ST2"}, "location": "eastus", "properties": {"subdomain": "iotc-cli-test000002update", "displayName": "iotc-cli-test000002update", @@ -880,19 +418,19 @@ interactions: Content-Type: - application/json; charset=utf-8 IF-MATCH: - - !!python/unicode '"08003e23-0000-0700-0000-5e180d010000"' + - !!python/unicode '"0000a381-0000-0100-0000-5e1cf04a0000"' ParameterSetName: - -n -g --set User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: PATCH - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-10T05:34:57.115Z","lastUpdated":"2020-01-10T05:35:38.677Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0800b823-0000-0700-0000-5e180d2a0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:33:45.943Z","lastUpdated":"2020-01-13T22:34:24.288Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000b081-0000-0100-0000-5e1cf0700000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -901,9 +439,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:35:39 GMT + - Mon, 13 Jan 2020 22:34:25 GMT etag: - - W/"0800b823-0000-0700-0000-5e180d2a0000" + - W/"0000b081-0000-0100-0000-5e1cf0700000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -914,82 +452,25 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '1618' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 3xd00ccx.0 + - 3ypgxyk4.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 2D46EEEF1EA2420B96E34EA16DEFCB33 Ref B: DB3EDGE1007 Ref C: 2020-01-10T05:35:37Z' + - 'Ref A: 08D5455F95FF4D3E82CB8E46F615BF28 Ref B: BY3EDGE0221 Ref C: 2020-01-13T22:34:23Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:39 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AsL63zrjB7pIiWVDsXsjsEM; expires=Sun, 09-Feb-2020 05:35:40 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8Oi3qV163w8tYfbH-4hJ7F8k2D_r4jRIdSprzeWeZhwm4xZFyjQf4xUarpRaypiL6CEaEDDn-T-flMl69ZqGoU4qoul6LvYq5S91Flroanp5oz4rAhccCJKQoLDZ4pZzu4eQTgW338B-RBdbKr5cxik__xM6-0YvZCm9d3mp7RGwgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -1005,14 +486,14 @@ interactions: - -n -g User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1021,9 +502,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:35:43 GMT + - Mon, 13 Jan 2020 22:34:26 GMT etag: - - W/"0200f60e-0000-0700-0000-5e180cd70000" + - W/"3b000af4-0000-0100-0000-5e1cf0230000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1034,80 +515,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '350' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 6ya2kmt8.0 + - zp14zxm.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: C38321BED9404F7FB61C787AC787D32D Ref B: DB3EDGE1614 Ref C: 2020-01-10T05:35:43Z' + - 'Ref A: 6AF4A44D59A946DDA9073880ED624B83 Ref B: BY3EDGE0512 Ref C: 2020-01-13T22:34:26Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:44 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AnYk5xvv1pdMgt7EYSEq-hI; expires=Sun, 09-Feb-2020 05:35:44 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8__AgmfFQKAGjGm8g72IGzy9Gg9509P_C5JsfS6Q9mhUgdQ9Hp5bb6YQyhfoERVccbJMbZALwK6WAGvCp-CZEOpvJFHb00phNBA71SucSN5DCL88Kw2B0eB1y38JkveXIbIcmzkHWQncIbyITdr4uvJj8gUkvRjZ1PGlDAQ57UqEgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -1123,14 +547,14 @@ interactions: - -n -g User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"6032082a-34df-4c2e-8b45-1293f7471de1","state":"created","displayName":"iotc-cli-test000002update","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-10T05:34:57.115Z","lastUpdated":"2020-01-10T05:35:38.677Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0800b823-0000-0700-0000-5e180d2a0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:33:45.943Z","lastUpdated":"2020-01-13T22:34:24.288Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000b081-0000-0100-0000-5e1cf0700000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1139,9 +563,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:35:46 GMT + - Mon, 13 Jan 2020 22:34:27 GMT etag: - - W/"0800b823-0000-0700-0000-5e180d2a0000" + - W/"0000b081-0000-0100-0000-5e1cf0700000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1152,80 +576,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '357' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - 6zazw0sf.0 + - 7ox0wgng.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: DF9DA21E0A6540E68E06A6885213A81C Ref B: DB3EDGE0707 Ref C: 2020-01-10T05:35:46Z' + - 'Ref A: 2F3A925C39B84648A70E9E5D70A262B2 Ref B: BY3EDGE0205 Ref C: 2020-01-13T22:34:27Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:35:46 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AlAyicSRHyxHtG5_LoQS7bs; expires=Sun, 09-Feb-2020 05:35:47 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8P9DjW_4PwE3BcD2o8Fhnk8bhTQz--bUteL27l3phm7t0uMQpaOjqK0og_wGXMX050LHAX2AxvXZmyd3ousBpie5RZSBEvzj1nV9yWb0Qj-g14Y2TnkK8cROxU3Df5mza420V6q2pBeJQtTH6Fp8g_2GBchADtEe7Z_5OlcMpiQogAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - SAN ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -1243,140 +610,43 @@ interactions: - -n -g User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: DELETE - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request - timed out. Diagnostic information: timestamp ''20200110T053653Z'', subscription - id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''dcbc020e-956d-4f75-9508-221d0452ad0b'', - request correlation id ''dcbc020e-956d-4f75-9508-221d0452ad0b''."}}' + string: !!python/unicode headers: cache-control: - - no-cache - connection: - - close + - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '294' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:36:52 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 503 - message: Service Unavailable -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iotcentral app delete - Connection: - - keep-alive - Content-Length: - '0' - ParameterSetName: - - -n -g - User-Agent: - - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 - accept-language: - - en-US - method: DELETE - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 - response: - body: - string: !!python/unicode - headers: - cache-control: - - no-cache date: - - Fri, 10 Jan 2020 05:36:54 GMT - expires: - - '-1' - pragma: - - no-cache + - Mon, 13 Jan 2020 22:34:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff + x-download-options: + - noopen + x-envoy-upstream-service-time: + - '1227' + x-frame-options: + - deny + x-iot-cluster: + - iotcprodwestus02 + x-iot-correlation: + - 8mmmjlr3.0 + x-iot-version: + - 010720.0004-master x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:36:54 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=Ahn3cUPI3-9KsZIsg4-zmsA; expires=Sun, 09-Feb-2020 05:36:55 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8U3hfxWe34jIU_AVmEsOufZHgDHwvsOiQtB3qSYbB2E1e9BwpKPhC7_25IunByQUFy7RQWs1VUvW_4EqgdKyeKbfQq_3_7XDN1SGeNvixlLSfxLISWFOhNJ4rqg-xxkHhPzp_NHNk1tUJH3p7oMT2RfXQWOUGHoy7qwEPaAO9JWYgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices + - '14999' + x-msedge-ref: + - 'Ref A: 4748F70007DD47F88D997D0E98F82C89 Ref B: BY3EDGE0315 Ref C: 2020-01-13T22:34:28Z' + x-xss-protection: + - 1; mode=block status: code: 200 message: OK @@ -1395,14 +665,14 @@ interactions: - -g User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"58da4493-7baf-4d99-9c5e-bece9254d3e6","state":"created","displayName":"iotc-cli-test000002","tenant":"f686d426-8d16-42db-81b7-ab578e110ccd","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-10T05:34:15.361Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0200f60e-0000-0700-0000-5e180cd70000\""}],"nextLink":null}' + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}],"nextLink":null}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -1411,9 +681,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Jan 2020 05:36:56 GMT + - Mon, 13 Jan 2020 22:34:31 GMT etag: - - W/"2d3-mSK+Db4JbpKuSJOTPZIwKZlmSSA" + - W/"2d3-OwXGe2xE99ChzVdhMZ56QdiMLj8" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1424,80 +694,23 @@ interactions: - nosniff x-download-options: - noopen + x-envoy-upstream-service-time: + - '341' x-frame-options: - deny x-iot-cluster: - - iotcrd01eastus02 + - iotcprodwestus02 x-iot-correlation: - - adcvuiqw.0 + - 1l6rp9z0.0 x-iot-version: - - 20200110.1-rd + - 010720.0004-master x-msedge-ref: - - 'Ref A: 94D5752C38894E97BD16678895EFCFFA Ref B: DB3EDGE1618 Ref C: 2020-01-10T05:36:56Z' + - 'Ref A: 910168D77F42418594F485F58C63079D Ref B: BY3EDGE0418 Ref C: 2020-01-13T22:34:31Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Charset: - - utf-8 - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - return-client-request-id: - - 'true' - x-client-CPU: - - x86 - x-client-OS: - - win32 - x-client-SKU: - - Python - x-client-Ver: - - 1.2.2 - method: GET - uri: https://login.windows.net/common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows-ppe.net%2Ff686d426-8d16-42db-81b7-ab578e110ccd%2Foauth2%2Fauthorize&api-version=1.0 - response: - body: - string: !!python/unicode '{"tenant_discovery_endpoint":"https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd/.well-known/openid-configuration"}' - headers: - access-control-allow-methods: - - GET, OPTIONS - access-control-allow-origin: - - '*' - cache-control: - - private, max-age=86400 - content-length: - - '131' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:36:56 GMT - p3p: - - CP="DSP CUR OTPi IND OTRi ONL FIN" - set-cookie: - - fpc=AvukClhFfHxIjvQpn-R9Adc; expires=Sun, 09-Feb-2020 05:36:57 GMT; path=/; - secure; HttpOnly; SameSite=None - - esctx=AQABAAAAAABeAFzDwllzTYGDLh_qYbH8J2f8je0PjxPzUgW9I4rO-m7J5gGH1DMjD0jzQVsMrj5zGPIeQ95ykMBDzGF3vaLdkjgB6lUTQetNVd3RtmFs42oPWM03p0Gfj46As3bxeMM1xiDOyesHyk2AJSeh2iGfG1qEI3ZunXIesDAI5zla1ZVhNePCEniBZKcB2gBUorQgAA; - domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None - - x-ms-gateway-slice=corp; path=/; SameSite=None; secure; HttpOnly - - stsservicecookie=estscorp; path=/; SameSite=None; secure; HttpOnly - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ests-server: - - 2.1.9898.10 - WST ProdSlices - status: - code: 200 - message: OK - request: body: null headers: @@ -1515,82 +728,44 @@ interactions: - -n -g User-Agent: - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: DELETE - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"error":{"code":"ServerTimeout","message":"The request - timed out. Diagnostic information: timestamp ''20200110T053804Z'', subscription - id ''34d077e3-2c1a-48f5-8629-ffc0e657e0ed'', tracking id ''432b0a31-9d74-4dca-b80d-897f670bb5e6'', - request correlation id ''432b0a31-9d74-4dca-b80d-897f670bb5e6''."}}' + string: !!python/unicode headers: cache-control: - - no-cache - connection: - - close + - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 content-length: - - '294' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 10 Jan 2020 05:38:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 503 - message: Service Unavailable -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iotcentral app delete - Connection: - - keep-alive - Content-Length: - '0' - ParameterSetName: - - -n -g - User-Agent: - - python/2.7.14 (Windows-10-10.0.18362) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-iotcentral/2.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 - accept-language: - - en-US - method: DELETE - uri: https://api-dogfood.resources.windows-int.net/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 - response: - body: - string: !!python/unicode - headers: - cache-control: - - no-cache date: - - Fri, 10 Jan 2020 05:38:05 GMT - expires: - - '-1' - pragma: - - no-cache + - Mon, 13 Jan 2020 22:34:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff + x-download-options: + - noopen + x-envoy-upstream-service-time: + - '696' + x-frame-options: + - deny + x-iot-cluster: + - iotcprodwestus02 + x-iot-correlation: + - 56zatp1e.0 + x-iot-version: + - 010720.0004-master x-ms-ratelimit-remaining-subscription-deletes: - '14999' + x-msedge-ref: + - 'Ref A: 23D3E17173D0456884F864C654AC7F99 Ref B: BY3EDGE0515 Ref C: 2020-01-13T22:34:32Z' + x-xss-protection: + - 1; mode=block status: - code: 204 - message: No Content + code: 200 + message: OK version: 1 From 5503ffb1fcbea697cc47995fd00d4691a1ef2d18 Mon Sep 17 00:00:00 2001 From: poanchen Date: Mon, 13 Jan 2020 14:50:33 -0800 Subject: [PATCH 5/5] remove the user of eastus for resource group region, re-record the session yml --- .../recordings/test_iotcentral_app.yaml | 146 +++++++++--------- .../tests/latest/test_iotcentral_commands.py | 2 +- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml index f869e696c04..354829dab97 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/recordings/test_iotcentral_app.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-13T22:33:01Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"date":"2020-01-13T22:46:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:33:03 GMT + - Mon, 13 Jan 2020 22:46:10 GMT expires: - '-1' pragma: @@ -46,7 +46,7 @@ interactions: message: OK - request: body: !!python/unicode '{"sku": {"name": "ST2"}, "properties": {"subdomain": "iotc-cli-test000002", - "displayName": "iotc-cli-test000002"}, "location": "eastus"}' + "displayName": "iotc-cli-test000002"}, "location": "westus"}' headers: Accept: - application/json @@ -71,7 +71,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"3c40fd70-35de-47d6-9b96-25dd85462883","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:46:15.516Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3c001074-0000-0100-0000-5e1cf3370000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -80,9 +80,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:33:11 GMT + - Mon, 13 Jan 2020 22:46:17 GMT etag: - - '"3b000af4-0000-0100-0000-5e1cf0230000"' + - '"3c001074-0000-0100-0000-5e1cf3370000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -90,19 +90,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '4509' + - '3665' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 3f88jop8.0 + - 7iyr186z.0 x-iot-version: - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 47B45CBA148740CFB080AD486822A456 Ref B: BY3EDGE0418 Ref C: 2020-01-13T22:33:06Z' + - 'Ref A: 8F8ECE63C807401B8F0FCD09BCBBF989 Ref B: BY3EDGE0118 Ref C: 2020-01-13T22:46:14Z' x-xss-protection: - 1; mode=block status: @@ -128,7 +128,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"3c40fd70-35de-47d6-9b96-25dd85462883","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:46:15.516Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3c001074-0000-0100-0000-5e1cf3370000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -137,9 +137,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:33:41 GMT + - Mon, 13 Jan 2020 22:46:48 GMT etag: - - W/"3b000af4-0000-0100-0000-5e1cf0230000" + - W/"3c001074-0000-0100-0000-5e1cf3370000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -151,17 +151,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '349' + - '344' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 1kaejy5z.0 + - 8kra06qp.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 193A8E55F0AF45A3B5C82831CB650760 Ref B: BY3EDGE0512 Ref C: 2020-01-13T22:33:41Z' + - 'Ref A: 15D29B631CAA4430A908D8FCC1F9EA07 Ref B: BY3EDGE0211 Ref C: 2020-01-13T22:46:48Z' x-xss-protection: - 1; mode=block status: @@ -189,7 +189,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"date":"2020-01-13T22:33:01Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"date":"2020-01-13T22:46:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -198,7 +198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:33:42 GMT + - Mon, 13 Jan 2020 22:46:49 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: - request: body: !!python/unicode '{"sku": {"name": "ST1"}, "properties": {"subdomain": "iotc-cli-test000002-template", "displayName": "My Custom App Display Name", "template": "iotc-default@1.0.0"}, - "location": "eastus"}' + "location": "westus"}' headers: Accept: - application/json @@ -240,8 +240,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My - Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"342ed6f2-4ee3-4743-b3c4-e3dd153c3e59","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:46:51.100Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"01008ab0-0000-0100-0000-5e1cf35b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -250,9 +250,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:33:50 GMT + - Mon, 13 Jan 2020 22:46:53 GMT etag: - - '"0000a381-0000-0100-0000-5e1cf04a0000"' + - '"01008ab0-0000-0100-0000-5e1cf35b0000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -260,19 +260,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '4351' + - '3959' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - b68893vi.0 + - cp57vok1.0 x-iot-version: - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: D9E3E5D96CE842339CBE99768C23100C Ref B: BY3EDGE0315 Ref C: 2020-01-13T22:33:45Z' + - 'Ref A: BBB7B7F1C1DA4A4BB3A7FFA8310E23A1 Ref B: BY3EDGE0420 Ref C: 2020-01-13T22:46:50Z' x-xss-protection: - 1; mode=block status: @@ -298,8 +298,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My - Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"342ed6f2-4ee3-4743-b3c4-e3dd153c3e59","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:46:51.100Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"01008ab0-0000-0100-0000-5e1cf35b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -308,9 +308,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:20 GMT + - Mon, 13 Jan 2020 22:47:24 GMT etag: - - W/"0000a381-0000-0100-0000-5e1cf04a0000" + - W/"01008ab0-0000-0100-0000-5e1cf35b0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -322,17 +322,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '347' + - '348' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 47icsf0x.0 + - 73fcwe0v.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 14875CF7C11D477EB4702B844A64F7CA Ref B: BY3EDGE0114 Ref C: 2020-01-13T22:34:20Z' + - 'Ref A: EAD1319C9C8344D8A89F844AD214F790 Ref B: BY3EDGE0121 Ref C: 2020-01-13T22:47:24Z' x-xss-protection: - 1; mode=block status: @@ -360,8 +360,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"My - Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:33:45.943Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"0000a381-0000-0100-0000-5e1cf04a0000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"342ed6f2-4ee3-4743-b3c4-e3dd153c3e59","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-01-13T22:46:51.100Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST1"},"etag":"\"01008ab0-0000-0100-0000-5e1cf35b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -370,9 +370,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:22 GMT + - Mon, 13 Jan 2020 22:47:26 GMT etag: - - W/"0000a381-0000-0100-0000-5e1cf04a0000" + - W/"01008ab0-0000-0100-0000-5e1cf35b0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -384,24 +384,24 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '421' + - '342' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - errfwoa.0 + - 4dd8he5a.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 061D4BE43A1E41F3A46FD87A2D6C281C Ref B: BY3EDGE0520 Ref C: 2020-01-13T22:34:21Z' + - 'Ref A: BB8444339A3F4940A900566CA89F22D2 Ref B: BY3EDGE0315 Ref C: 2020-01-13T22:47:26Z' x-xss-protection: - 1; mode=block status: code: 200 message: OK - request: - body: !!python/unicode '{"sku": {"name": "ST2"}, "location": "eastus", "properties": + body: !!python/unicode '{"sku": {"name": "ST2"}, "location": "westus", "properties": {"subdomain": "iotc-cli-test000002update", "displayName": "iotc-cli-test000002update", "template": "iotc-default@1.0.0"}, "tags": {}}' headers: @@ -418,7 +418,7 @@ interactions: Content-Type: - application/json; charset=utf-8 IF-MATCH: - - !!python/unicode '"0000a381-0000-0100-0000-5e1cf04a0000"' + - !!python/unicode '"01008ab0-0000-0100-0000-5e1cf35b0000"' ParameterSetName: - -n -g --set User-Agent: @@ -430,7 +430,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:33:45.943Z","lastUpdated":"2020-01-13T22:34:24.288Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000b081-0000-0100-0000-5e1cf0700000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"342ed6f2-4ee3-4743-b3c4-e3dd153c3e59","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:46:51.100Z","lastUpdated":"2020-01-13T22:47:27.803Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0100a2b0-0000-0100-0000-5e1cf37f0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -439,9 +439,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:25 GMT + - Mon, 13 Jan 2020 22:47:27 GMT etag: - - W/"0000b081-0000-0100-0000-5e1cf0700000" + - W/"0100a2b0-0000-0100-0000-5e1cf37f0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -453,19 +453,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '1618' + - '1408' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 3ypgxyk4.0 + - 5cme9j2z.0 x-iot-version: - 010720.0004-master x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 08D5455F95FF4D3E82CB8E46F615BF28 Ref B: BY3EDGE0221 Ref C: 2020-01-13T22:34:23Z' + - 'Ref A: 95258E20B94148808B2118C81836C5A7 Ref B: BY3EDGE0408 Ref C: 2020-01-13T22:47:26Z' x-xss-protection: - 1; mode=block status: @@ -493,7 +493,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"3c40fd70-35de-47d6-9b96-25dd85462883","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:46:15.516Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3c001074-0000-0100-0000-5e1cf3370000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -502,9 +502,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:26 GMT + - Mon, 13 Jan 2020 22:47:29 GMT etag: - - W/"3b000af4-0000-0100-0000-5e1cf0230000" + - W/"3c001074-0000-0100-0000-5e1cf3370000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -516,17 +516,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '350' + - '341' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - zp14zxm.0 + - 1hdd1c4o.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 6AF4A44D59A946DDA9073880ED624B83 Ref B: BY3EDGE0512 Ref C: 2020-01-13T22:34:26Z' + - 'Ref A: A1E40B7B81B24BDDB79E697FB3C00A8F Ref B: BY3EDGE0419 Ref C: 2020-01-13T22:47:29Z' x-xss-protection: - 1; mode=block status: @@ -554,7 +554,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template?api-version=2018-09-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"8e46e886-70a3-4525-aa03-c78178ab13e2","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:33:45.943Z","lastUpdated":"2020-01-13T22:34:24.288Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000b081-0000-0100-0000-5e1cf0700000\""}' + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002-template","name":"iotc-cli-test000002-template","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"342ed6f2-4ee3-4743-b3c4-e3dd153c3e59","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002update","createdDate":"2020-01-13T22:46:51.100Z","lastUpdated":"2020-01-13T22:47:27.803Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0100a2b0-0000-0100-0000-5e1cf37f0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -563,9 +563,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:27 GMT + - Mon, 13 Jan 2020 22:47:29 GMT etag: - - W/"0000b081-0000-0100-0000-5e1cf0700000" + - W/"0100a2b0-0000-0100-0000-5e1cf37f0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -577,17 +577,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '357' + - '350' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 7ox0wgng.0 + - bnzexa78.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 2F3A925C39B84648A70E9E5D70A262B2 Ref B: BY3EDGE0205 Ref C: 2020-01-13T22:34:27Z' + - 'Ref A: C440DA371477455986F20004ADD26900 Ref B: BY3EDGE0410 Ref C: 2020-01-13T22:47:29Z' x-xss-protection: - 1; mode=block status: @@ -624,7 +624,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Jan 2020 22:34:30 GMT + - Mon, 13 Jan 2020 22:47:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -632,19 +632,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '1227' + - '817' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 8mmmjlr3.0 + - 1rrqh66.0 x-iot-version: - 010720.0004-master x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 4748F70007DD47F88D997D0E98F82C89 Ref B: BY3EDGE0315 Ref C: 2020-01-13T22:34:28Z' + - 'Ref A: FCCD24B02A7B48E59F44D0F3F5F51428 Ref B: BY3EDGE0106 Ref C: 2020-01-13T22:47:31Z' x-xss-protection: - 1; mode=block status: @@ -672,7 +672,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"eastus","tags":{},"properties":{"applicationId":"a390185d-c9a9-49c7-b0f0-581de17fad12","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:33:07.337Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3b000af4-0000-0100-0000-5e1cf0230000\""}],"nextLink":null}' + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.IoTCentral/IoTApps/iotc-cli-test000002","name":"iotc-cli-test000002","type":"Microsoft.IoTCentral/IoTApps","location":"westus","tags":{},"properties":{"applicationId":"3c40fd70-35de-47d6-9b96-25dd85462883","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{},"subdomain":"iotc-cli-test000002","createdDate":"2020-01-13T22:46:15.516Z","template":"iotc-default@1.0.0"},"sku":{"name":"ST2"},"etag":"\"3c001074-0000-0100-0000-5e1cf3370000\""}],"nextLink":null}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -681,9 +681,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 13 Jan 2020 22:34:31 GMT + - Mon, 13 Jan 2020 22:47:32 GMT etag: - - W/"2d3-OwXGe2xE99ChzVdhMZ56QdiMLj8" + - W/"2d3-i7x0zca9fcPPmEBF0C6fwhBHvcc" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -695,17 +695,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '341' + - '345' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 1l6rp9z0.0 + - 9n29pqqc.0 x-iot-version: - 010720.0004-master x-msedge-ref: - - 'Ref A: 910168D77F42418594F485F58C63079D Ref B: BY3EDGE0418 Ref C: 2020-01-13T22:34:31Z' + - 'Ref A: A0CC0A30F81C406EBA75951440F99473 Ref B: BY3EDGE0419 Ref C: 2020-01-13T22:47:32Z' x-xss-protection: - 1; mode=block status: @@ -742,7 +742,7 @@ interactions: content-length: - '0' date: - - Mon, 13 Jan 2020 22:34:34 GMT + - Mon, 13 Jan 2020 22:47:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -750,19 +750,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '696' + - '823' x-frame-options: - deny x-iot-cluster: - iotcprodwestus02 x-iot-correlation: - - 56zatp1e.0 + - jpguqeh.0 x-iot-version: - 010720.0004-master x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 23D3E17173D0456884F864C654AC7F99 Ref B: BY3EDGE0515 Ref C: 2020-01-13T22:34:32Z' + - 'Ref A: E069DEE2512B469F9A13F5D338540A4D Ref B: BY3EDGE0320 Ref C: 2020-01-13T22:47:33Z' x-xss-protection: - 1; mode=block status: diff --git a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py index b2ae0519a8c..cc01aee87ac 100644 --- a/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py +++ b/src/azure-cli/azure/cli/command_modules/iotcentral/tests/latest/test_iotcentral_commands.py @@ -8,7 +8,7 @@ class IoTCentralTest(ScenarioTest): - @ResourceGroupPreparer(location='eastus') # name_prefix not required, but can be useful + @ResourceGroupPreparer() # name_prefix not required, but can be useful def test_iotcentral_app(self, resource_group, resource_group_location): app_name = self.create_random_name(prefix='iotc-cli-test', length=24) template_app_name = app_name + '-template'