diff --git a/src/azure-cli/azure/cli/command_modules/iot/custom.py b/src/azure-cli/azure/cli/command_modules/iot/custom.py index 9e0ee60aa99..e96efe9009e 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/custom.py +++ b/src/azure-cli/azure/cli/command_modules/iot/custom.py @@ -1091,8 +1091,7 @@ def iot_central_app_list(client, resource_group_name=None): def iot_central_app_update(client, app_name, parameters, resource_group_name): - etag = parameters.additional_properties['etag'] - return client.apps.update(resource_group_name, app_name, parameters, {'IF-MATCH': etag}) + return client.apps.update(resource_group_name, app_name, parameters) def _ensure_location(cli_ctx, resource_group_name, location): diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_central_app.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_central_app.yaml index 11fba1e61fb..7ccb5ec754c 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_central_app.yaml +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_iot_central_app.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --subdomain --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-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":"2020-12-18T11:31:03Z"},"properties":{"provisioningState":"Succeeded"}}' + 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":"2021-02-22T00:21:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:31:05 GMT + - Mon, 22 Feb 2021 00:21:25 GMT expires: - '-1' pragma: @@ -63,157 +63,15 @@ interactions: ParameterSetName: - -n -g --subdomain --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"error":{"code":"MissingSubscriptionRegistration","message":"The subscription - is not registered to use namespace ''Microsoft.IoTCentral''. See https://aka.ms/rps-not-found - for how to register subscriptions.","details":[{"code":"MissingSubscriptionRegistration","target":"Microsoft.IoTCentral","message":"The - subscription is not registered to use namespace ''Microsoft.IoTCentral''. - See https://aka.ms/rps-not-found for how to register subscriptions."}]}}' - headers: - cache-control: - - no-cache - content-length: - - '451' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 18 Dec 2020 11:31:05 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: 409 - message: Conflict -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python-requests/2.22.0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral/register?api-version=2016-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral","namespace":"Microsoft.IoTCentral","authorizations":[{"applicationId":"9edfcdd9-0bc5-4bd4-b287-c3afc716aac7"}],"resourceTypes":[{"resourceType":"IoTApps","locations":["West - Europe","West US","East US 2","North Europe","East US","Central US","West - Central US","Australia","Asia Pacific","Europe","Japan","UK","United States"],"apiVersions":["2018-09-01","2017-07-01-privatepreview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2018-09-01","2017-07-01-privatepreview"]},{"resourceType":"checkSubdomainAvailability","locations":[],"apiVersions":["2018-09-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2018-09-01","2017-07-01-privatepreview"]},{"resourceType":"appTemplates","locations":[],"apiVersions":["2018-09-01"]}],"registrationState":"Registering"}' - headers: - cache-control: - - no-cache - content-length: - - '969' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 18 Dec 2020 11:31:05 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-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.22.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral?api-version=2016-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.IoTCentral","namespace":"Microsoft.IoTCentral","authorizations":[{"applicationId":"9edfcdd9-0bc5-4bd4-b287-c3afc716aac7"}],"resourceTypes":[{"resourceType":"IoTApps","locations":["West - Europe","West US","East US 2","North Europe","East US","Central US","West - Central US","Australia","Asia Pacific","Europe","Japan","UK","United States"],"apiVersions":["2018-09-01","2017-07-01-privatepreview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2018-09-01","2017-07-01-privatepreview"]},{"resourceType":"checkSubdomainAvailability","locations":[],"apiVersions":["2018-09-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2018-09-01","2017-07-01-privatepreview"]},{"resourceType":"appTemplates","locations":[],"apiVersions":["2018-09-01"]}],"registrationState":"Registered"}' - headers: - cache-control: - - no-cache - content-length: - - '968' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 18 Dec 2020 11:31:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "westus", "properties": {"displayName": "iotc-cli-test000002", - "subdomain": "iotc-cli-test000002"}, "sku": {"name": "ST2"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot central app create - Connection: - - keep-alive - Content-Length: - - '146' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g --subdomain --sku - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - 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 - 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":"25ca57ca-59de-4e6d-98d2-5c208e998e29","state":"created","displayName":"iotc-cli-test000002","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2020-12-18T11:31:18.469Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000fd21-0000-0100-0000-5fdc93060000\""}' + 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":"fa3d3c0b-2a4a-423c-97fb-cab01130fcb2","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2021-02-22T00:21:28.435Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"6601f56c-0000-0100-0000-6032f9080000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -222,9 +80,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:31:22 GMT + - Mon, 22 Feb 2021 00:21:29 GMT etag: - - '"0000fd21-0000-0100-0000-5fdc93060000"' + - '"6601f56c-0000-0100-0000-6032f9080000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -232,19 +90,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '3674' + - '2194' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodcentralus01 x-iot-correlation: - - 37mwhkzy.0 + - 5gphpzwh.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: BB40B2F07DC94F6683AB8D940B270D94 Ref B: DM2EDGE0517 Ref C: 2020-12-18T11:31:18Z' + - 'Ref A: BB8A4C3CBFDE47A2860E4F3CF758EFF7 Ref B: CYS01EDGE0215 Ref C: 2021-02-22T00:21:27Z' x-xss-protection: - 1; mode=block status: @@ -264,13 +122,13 @@ interactions: ParameterSetName: - -n -g --subdomain --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"25ca57ca-59de-4e6d-98d2-5c208e998e29","state":"created","displayName":"iotc-cli-test000002","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2020-12-18T11:31:18.469Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000fd21-0000-0100-0000-5fdc93060000\""}' + 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":"fa3d3c0b-2a4a-423c-97fb-cab01130fcb2","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2021-02-22T00:21:28.435Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"6601f56c-0000-0100-0000-6032f9080000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -279,9 +137,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:31:52 GMT + - Mon, 22 Feb 2021 00:22:00 GMT etag: - - W/"0000fd21-0000-0100-0000-5fdc93060000" + - W/"6601f56c-0000-0100-0000-6032f9080000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -293,17 +151,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '60' + - '121' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodcentralus01 x-iot-correlation: - - 87psk4qe.0 + - bozsxt6v.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: 9BE6294BF42A4DD0967DE2DE4CAC6000 Ref B: DM2EDGE0315 Ref C: 2020-12-18T11:31:52Z' + - 'Ref A: 83DCF8DAF99D40AC8A4EE1C3E20A528E Ref B: CYS01EDGE0222 Ref C: 2021-02-22T00:22:00Z' x-xss-protection: - 1; mode=block status: @@ -323,15 +181,15 @@ interactions: ParameterSetName: - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-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":"2020-12-18T11:31:03Z"},"properties":{"provisioningState":"Succeeded"}}' + 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":"2021-02-22T00:21:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -340,7 +198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:31:53 GMT + - Mon, 22 Feb 2021 00:22:00 GMT expires: - '-1' pragma: @@ -374,16 +232,16 @@ interactions: ParameterSetName: - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"3c80f2c3-7114-4e58-a286-561db63bf22a","state":"created","displayName":"My - Custom App Display Name","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-12-18T11:31:55.848Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"00001400-0000-0100-0000-5fdc932b0000\""}' + 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":"7d60aeaf-aa3e-4b83-ae13-088997b9224e","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2021-02-22T00:22:03.446Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"fa000f02-0000-0100-0000-6032f92b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -392,9 +250,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:31:57 GMT + - Mon, 22 Feb 2021 00:22:04 GMT etag: - - '"00001400-0000-0100-0000-5fdc932b0000"' + - '"fa000f02-0000-0100-0000-6032f92b0000"' strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -402,19 +260,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '1534' + - '2072' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodcentralus01 x-iot-correlation: - - bl45gtx5.0 + - 3et79fbo.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 7F765F6F708145138B87839CF70C0CEA Ref B: DM2EDGE0921 Ref C: 2020-12-18T11:31:55Z' + - 'Ref A: 6D5E690F72A541F5BC0062BF0988B3C2 Ref B: CYS01EDGE0222 Ref C: 2021-02-22T00:22:02Z' x-xss-protection: - 1; mode=block status: @@ -434,14 +292,14 @@ interactions: ParameterSetName: - -n -g --subdomain --template --display-name --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"3c80f2c3-7114-4e58-a286-561db63bf22a","state":"created","displayName":"My - Custom App Display Name","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-12-18T11:31:55.848Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"00001400-0000-0100-0000-5fdc932b0000\""}' + 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":"7d60aeaf-aa3e-4b83-ae13-088997b9224e","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2021-02-22T00:22:03.446Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"fa000f02-0000-0100-0000-6032f92b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -450,9 +308,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:27 GMT + - Mon, 22 Feb 2021 00:22:35 GMT etag: - - W/"00001400-0000-0100-0000-5fdc932b0000" + - W/"fa000f02-0000-0100-0000-6032f92b0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -464,17 +322,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '73' + - '566' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - bjow9sy1.0 + - 4rh77q94.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: 2D24E0B77B144956BBAFFD05C089FF01 Ref B: DM2EDGE0615 Ref C: 2020-12-18T11:32:27Z' + - 'Ref A: 3E2CB3EA86844550B6392A52ED731D4B Ref B: BY3EDGE0105 Ref C: 2021-02-22T00:22:35Z' x-xss-protection: - 1; mode=block status: @@ -494,16 +352,16 @@ interactions: ParameterSetName: - -n -g --set User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"3c80f2c3-7114-4e58-a286-561db63bf22a","state":"created","displayName":"My - Custom App Display Name","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2020-12-18T11:31:55.848Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"00001400-0000-0100-0000-5fdc932b0000\""}' + 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":"7d60aeaf-aa3e-4b83-ae13-088997b9224e","state":"created","displayName":"My + Custom App Display Name","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002-template","createdDate":"2021-02-22T00:22:03.446Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST1"},"etag":"\"fa000f02-0000-0100-0000-6032f92b0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -512,9 +370,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:28 GMT + - Mon, 22 Feb 2021 00:22:36 GMT etag: - - W/"00001400-0000-0100-0000-5fdc932b0000" + - W/"fa000f02-0000-0100-0000-6032f92b0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -526,17 +384,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '252' + - '555' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - li7jspf.0 + - 1ef4qko5.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: 243973B6FFD54E7C8E1D7C49EB866225 Ref B: DM2EDGE0316 Ref C: 2020-12-18T11:32:29Z' + - 'Ref A: A2A7C4790A904482BC61A53842C0C2A7 Ref B: BY3EDGE0110 Ref C: 2021-02-22T00:22:36Z' x-xss-protection: - 1; mode=block status: @@ -559,20 +417,18 @@ interactions: - '208' Content-Type: - application/json; charset=utf-8 - IF-MATCH: - - '"00001400-0000-0100-0000-5fdc932b0000"' ParameterSetName: - -n -g --set User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"3c80f2c3-7114-4e58-a286-561db63bf22a","state":"created","displayName":"iotc-cli-test000002update","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002update","createdDate":"2020-12-18T11:31:55.848Z","lastUpdated":"2020-12-18T11:32:30.631Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"00001a00-0000-0100-0000-5fdc934e0000\""}' + 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":"7d60aeaf-aa3e-4b83-ae13-088997b9224e","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002update","createdDate":"2021-02-22T00:22:03.446Z","lastUpdated":"2021-02-22T00:22:38.925Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"fa00de02-0000-0100-0000-6032f94e0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -581,9 +437,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:30 GMT + - Mon, 22 Feb 2021 00:22:38 GMT etag: - - W/"00001a00-0000-0100-0000-5fdc934e0000" + - W/"fa00de02-0000-0100-0000-6032f94e0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -595,19 +451,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '571' + - '1586' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - bfp4bo8p.0 + - 481o0a4f.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: D3BC4F0D2BE943F1B78E771F82F2B76B Ref B: DM2EDGE0108 Ref C: 2020-12-18T11:32:30Z' + - 'Ref A: EF97EF8988EF4BAF9F7E3EDB9E52013C Ref B: BY3EDGE0121 Ref C: 2021-02-22T00:22:37Z' x-xss-protection: - 1; mode=block status: @@ -627,15 +483,15 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"25ca57ca-59de-4e6d-98d2-5c208e998e29","state":"created","displayName":"iotc-cli-test000002","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2020-12-18T11:31:18.469Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000fd21-0000-0100-0000-5fdc93060000\""}' + 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":"fa3d3c0b-2a4a-423c-97fb-cab01130fcb2","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2021-02-22T00:21:28.435Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"6601f56c-0000-0100-0000-6032f9080000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -644,9 +500,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:31 GMT + - Mon, 22 Feb 2021 00:22:40 GMT etag: - - W/"0000fd21-0000-0100-0000-5fdc93060000" + - W/"6601f56c-0000-0100-0000-6032f9080000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -658,17 +514,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '70' + - '565' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - 64y3xtw3.0 + - 8jt3m9tn.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: 1E58DC43866347CBB32A57FFBBBAE8E9 Ref B: DM2EDGE0705 Ref C: 2020-12-18T11:32:31Z' + - 'Ref A: C5C383C4265F4727AAEBC22F643A6604 Ref B: BY3EDGE0518 Ref C: 2021-02-22T00:22:39Z' x-xss-protection: - 1; mode=block status: @@ -688,15 +544,15 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '{"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":"3c80f2c3-7114-4e58-a286-561db63bf22a","state":"created","displayName":"iotc-cli-test000002update","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002update","createdDate":"2020-12-18T11:31:55.848Z","lastUpdated":"2020-12-18T11:32:30.631Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"00001a00-0000-0100-0000-5fdc934e0000\""}' + 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":"7d60aeaf-aa3e-4b83-ae13-088997b9224e","state":"created","displayName":"iotc-cli-test000002update","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002update","createdDate":"2021-02-22T00:22:03.446Z","lastUpdated":"2021-02-22T00:22:38.925Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"fa00de02-0000-0100-0000-6032f94e0000\""}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -705,9 +561,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:32 GMT + - Mon, 22 Feb 2021 00:22:40 GMT etag: - - W/"00001a00-0000-0100-0000-5fdc934e0000" + - W/"fa00de02-0000-0100-0000-6032f94e0000" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -719,17 +575,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '60' + - '556' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - 6kkwz9be.0 + - 47nixh3t.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: 5CDB9550480C4047849E9F027A9E63C4 Ref B: DM2EDGE0817 Ref C: 2020-12-18T11:32:32Z' + - 'Ref A: D6FC9353313F45B09456BBA51574C79A Ref B: BY3EDGE0513 Ref C: 2021-02-22T00:22:40Z' x-xss-protection: - 1; mode=block status: @@ -751,12 +607,12 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '' @@ -766,7 +622,7 @@ interactions: content-length: - '0' date: - - Fri, 18 Dec 2020 11:32:34 GMT + - Mon, 22 Feb 2021 00:22:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -774,19 +630,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '350' + - '904' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - 75tcl1h4.0 + - a8qxy22k.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 853140173774460EAE1D0D45E8942B15 Ref B: DM2EDGE1021 Ref C: 2020-12-18T11:32:33Z' + - 'Ref A: 4591FFA9B2964EADBEDE15AF0CCB2332 Ref B: BY3EDGE0320 Ref C: 2021-02-22T00:22:41Z' x-xss-protection: - 1; mode=block status: @@ -806,15 +662,15 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://management.azure.com/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":"25ca57ca-59de-4e6d-98d2-5c208e998e29","state":"created","displayName":"iotc-cli-test000002","tenant":"72f988bf-86f1-41af-91ab-2d7cd011db47","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2020-12-18T11:31:18.469Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"0000fd21-0000-0100-0000-5fdc93060000\""}]}' + 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":"fa3d3c0b-2a4a-423c-97fb-cab01130fcb2","state":"created","displayName":"iotc-cli-test000002","tenant":"7f448912-3312-4b33-838d-76eb99405624","capabilities":{"non-wrapped-properties":true,"pnp-preview":true,"asa-stamp":true,"default":true},"subdomain":"iotc-cli-test000002","createdDate":"2021-02-22T00:21:28.435Z","template":"iotc-pnp-preview@1.0.0"},"sku":{"name":"ST2"},"etag":"\"6601f56c-0000-0100-0000-6032f9080000\""}]}' headers: cache-control: - no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0 @@ -823,9 +679,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Dec 2020 11:32:34 GMT + - Mon, 22 Feb 2021 00:22:42 GMT etag: - - W/"317-hMBqOdq/lCwccGa0JT23nLtYoCM" + - W/"317-sAUrMIxREmMdB983ApesGlQQl0Q" strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -837,17 +693,17 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '175' + - '309' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - 2smpslrn.0 + - 83e964il.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-msedge-ref: - - 'Ref A: D49B631267B148669023A396DC3E9EF7 Ref B: DM2EDGE0406 Ref C: 2020-12-18T11:32:35Z' + - 'Ref A: 3C64CD1B357644CD93535E85EE53E44B Ref B: BY3EDGE0119 Ref C: 2021-02-22T00:22:42Z' x-xss-protection: - 1; mode=block status: @@ -869,12 +725,12 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-iotcentral/3.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-iotcentral/4.1.0 Azure-SDK-For-Python AZURECLI/2.19.1 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://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: '' @@ -884,7 +740,7 @@ interactions: content-length: - '0' date: - - Fri, 18 Dec 2020 11:32:37 GMT + - Mon, 22 Feb 2021 00:22:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -892,19 +748,19 @@ interactions: x-download-options: - noopen x-envoy-upstream-service-time: - - '581' + - '857' x-frame-options: - deny x-iot-cluster: - - iotcprodcentralus02 + - iotcprodwestus02 x-iot-correlation: - - 4kmqe1y0.0 + - 64cb5hp1.0 x-iot-version: - - 121620.0002-master + - 021121.0001-release x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: EAB23D01CA1342AB83BD660FBF584FE7 Ref B: DM2EDGE0820 Ref C: 2020-12-18T11:32:35Z' + - 'Ref A: 8F50511572494FB0BE35ADAE33D45E07 Ref B: BY3EDGE0207 Ref C: 2021-02-22T00:22:43Z' x-xss-protection: - 1; mode=block status: diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 35b67c4483d..16cafdfee29 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -46,7 +46,7 @@ azure-mgmt-eventgrid==3.0.0rc7 azure-mgmt-eventhub==4.1.0 azure-mgmt-hdinsight==2.2.0 azure-mgmt-imagebuilder==0.4.0 -azure-mgmt-iotcentral==3.0.0 +azure-mgmt-iotcentral==4.1.0 azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==8.0.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 35b67c4483d..16cafdfee29 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -46,7 +46,7 @@ azure-mgmt-eventgrid==3.0.0rc7 azure-mgmt-eventhub==4.1.0 azure-mgmt-hdinsight==2.2.0 azure-mgmt-imagebuilder==0.4.0 -azure-mgmt-iotcentral==3.0.0 +azure-mgmt-iotcentral==4.1.0 azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==8.0.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 8729c896cd0..5b307818e49 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -46,7 +46,7 @@ azure-mgmt-eventgrid==3.0.0rc7 azure-mgmt-eventhub==4.1.0 azure-mgmt-hdinsight==2.2.0 azure-mgmt-imagebuilder==0.4.0 -azure-mgmt-iotcentral==3.0.0 +azure-mgmt-iotcentral==4.1.0 azure-mgmt-iothub==0.12.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==8.0.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index fd7fe85d19a..087f63ac4a6 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -88,7 +88,7 @@ 'azure-mgmt-eventhub~=4.1.0', 'azure-mgmt-hdinsight~=2.2.0', 'azure-mgmt-imagebuilder~=0.4.0', - 'azure-mgmt-iotcentral~=3.0.0', + 'azure-mgmt-iotcentral~=4.1.0', 'azure-mgmt-iothub~=0.12.0', 'azure-mgmt-iothubprovisioningservices~=0.2.0', 'azure-mgmt-keyvault==8.0.0',