diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dcdd440a9e8..8ca645ad867 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -104,7 +104,7 @@ /src/storage-or-preview/ @Juliehzl -/src/logic/ @bquantump +/src/logic/ @jsntcy @msyyc @kairu /src/hardware-security-modules/ @bquantump diff --git a/src/logic/HISTORY.rst b/src/logic/HISTORY.rst index 94abe39e365..f1ce379b5fb 100644 --- a/src/logic/HISTORY.rst +++ b/src/logic/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.1.2 +++++++ +* `logic workflow update`: --definition is not to be mandatory while updating + 0.1.1 ++++++ * Fix parsing argument --integration-service-environment. diff --git a/src/logic/azext_logic/azext_metadata.json b/src/logic/azext_logic/azext_metadata.json index 27e30487444..a78851d3d17 100644 --- a/src/logic/azext_logic/azext_metadata.json +++ b/src/logic/azext_logic/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.3.1" + "azext.minCliCoreVersion": "2.15.0" } diff --git a/src/logic/azext_logic/manual/custom.py b/src/logic/azext_logic/manual/custom.py new file mode 100644 index 00000000000..2f894f87a50 --- /dev/null +++ b/src/logic/azext_logic/manual/custom.py @@ -0,0 +1,37 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.util import CLIError + + +def logic_workflow_update(cmd, + client, + resource_group_name, + name, + definition=None, + tags=None, + state=None): + + from azure.cli.core.azclierror import ValidationError + + if definition is not None and "definition" not in definition: + raise ValidationError(str(definition) + " does not contain a 'definition' key") + + workflow = client.get(resource_group_name=resource_group_name, workflow_name=name) + + from ..generated.custom import logic_workflow_create + return logic_workflow_create( + cmd, + client, + resource_group_name, + name, + definition=definition if definition else {"definition": workflow.definition}, + location=workflow.location, + tags=tags if tags else workflow.tags, + state=state if state else workflow.state, + endpoints_configuration=workflow.endpoints_configuration, + integration_account=workflow.integration_account, + integration_service_environment=workflow.integration_service_environment, + ) diff --git a/src/logic/azext_logic/tests/latest/recordings/test_logic.yaml b/src/logic/azext_logic/tests/latest/recordings/test_logic.yaml index 62d86697521..8bbfeb3eb4e 100644 --- a/src/logic/azext_logic/tests/latest/recordings/test_logic.yaml +++ b/src/logic/azext_logic/tests/latest/recordings/test_logic.yaml @@ -18,7 +18,7 @@ interactions: ParameterSetName: - --location --sku --name --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004?api-version=2019-05-01 response: @@ -32,7 +32,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:04 GMT + - Fri, 04 Dec 2020 06:49:59 GMT expires: - '-1' pragma: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -65,7 +65,7 @@ interactions: ParameterSetName: - --location --input-path --name --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004?api-version=2019-05-01 response: @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:06 GMT + - Fri, 04 Dec 2020 06:50:01 GMT expires: - '-1' pragma: @@ -93,7 +93,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: OK @@ -121,12 +121,12 @@ interactions: ParameterSetName: - --resource-group --location --definition --name User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 response: body: - string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:07.7920849Z","changedTime":"2020-04-23T18:30:07.7807943Z","state":"Enabled","version":"08586139402777168780","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:05.6920561Z","changedTime":"2020-12-04T06:50:05.6785038Z","state":"Enabled","version":"08585945422798239259","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' headers: cache-control: - no-cache @@ -135,7 +135,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:07 GMT + - Fri, 04 Dec 2020 06:50:05 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -163,7 +163,7 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004?api-version=2019-05-01 response: @@ -177,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:08 GMT + - Fri, 04 Dec 2020 06:50:08 GMT expires: - '-1' pragma: @@ -207,12 +207,12 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 response: body: - string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:07.7920849Z","changedTime":"2020-04-23T18:30:07.7807943Z","state":"Enabled","version":"08586139402777168780","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:05.6920561Z","changedTime":"2020-12-04T06:50:05.6785038Z","state":"Enabled","version":"08585945422798239259","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' headers: cache-control: - no-cache @@ -221,7 +221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:09 GMT + - Fri, 04 Dec 2020 06:50:09 GMT expires: - '-1' pragma: @@ -235,7 +235,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '19999' + - '19996' status: code: 200 message: OK @@ -253,7 +253,7 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts?api-version=2019-05-01 response: @@ -267,7 +267,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:09 GMT + - Fri, 04 Dec 2020 06:50:11 GMT expires: - '-1' pragma: @@ -297,12 +297,12 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows?api-version=2019-05-01 response: body: - string: '{"value":[{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:07.7920849Z","changedTime":"2020-04-23T18:30:07.7807943Z","state":"Enabled","version":"08586139402777168780","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}]}' + string: '{"value":[{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:05.6920561Z","changedTime":"2020-12-04T06:50:05.6785038Z","state":"Enabled","version":"08585945422798239259","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}]}' headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:11 GMT + - Fri, 04 Dec 2020 06:50:13 GMT expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '19999' + - '19996' status: code: 200 message: OK @@ -341,21 +341,21 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Logic/integrationAccounts?api-version=2019-05-01 response: body: - string: '{"value":[{"properties":{"state":"Enabled"},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004","name":"cli_test_000004","type":"Microsoft.Logic/integrationAccounts","location":"centralus"},{"properties":{"state":"Enabled"},"sku":{"name":"Basic"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Logic/integrationAccounts/test-inta","name":"test-inta","type":"Microsoft.Logic/integrationAccounts","location":"centralus"}]}' + string: '{"value":[{"properties":{"state":"Enabled"},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004","name":"cli_test_000004","type":"Microsoft.Logic/integrationAccounts","location":"centralus"}]}' headers: cache-control: - no-cache content-length: - - '681' + - '395' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:11 GMT + - Fri, 04 Dec 2020 06:50:14 GMT expires: - '-1' pragma: @@ -383,38 +383,169 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Logic/workflows?api-version=2019-05-01 response: body: - string: '{"value":[{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:07.7920849Z","changedTime":"2020-04-23T18:30:07.7807943Z","state":"Enabled","version":"08586139402777168780","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"},{"properties":{"provisioningState":"Succeeded","createdTime":"2020-03-04T21:04:27.8470467Z","changedTime":"2020-03-23T16:53:56.4201392Z","state":"Disabled","version":"08586166244495864249","accessEndpoint":"https://prod-08.centralus.logic.azure.com:443/workflows/02b0a0de204149d1a14c558ff3da9c1f","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"Check_travel_time_every_weekday_morning":{"recurrence":{"frequency":"Week","interval":1,"schedule":{"hours":["7","8","9","6","5"],"minutes":[0,15,30,45],"weekDays":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]}},"type":"Recurrence"}},"actions":{"Condition":{"actions":{},"runAfter":{"Initialize_variable":["Succeeded"]},"expression":{"and":[{"greater":["@variables(''travelTime'')",15]}]},"type":"If"},"Get_route":{"runAfter":{},"type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''bingmaps''][''connectionId'']"}},"method":"get","path":"/REST/V1/Routes/Driving","queries":{"distanceUnit":"Mile","optimize":"timeWithTraffic","travelMode":"Driving","wp.0":"1717 - 22nd AveSeattle, WA 98122","wp.1":"15701 NE 39th St, Redmond, WA 98052"}}},"Initialize_variable":{"runAfter":{"Get_route":["Succeeded"]},"type":"InitializeVariable","inputs":{"variables":[{"name":"travelTime","type":"integer","value":"@div(body(''Get_route'')?[''travelDuration''],60)"}]}},"Send_an_email_(V2)":{"runAfter":{"Condition":["Succeeded"]},"type":"ApiConnection","inputs":{"body":{"Body":"
Extra - travel time: @{sub(variables(''travelTime''),15)}
","Subject":"Current - Travel Time: @{variables(''travelTime'')}","To":"stevens@microsoft.com"},"host":{"connection":{"name":"@parameters(''$connections'')[''office365''][''connectionId'']"}},"method":"post","path":"/v2/Mail"}}},"outputs":{}},"parameters":{"$connections":{"value":{"bingmaps":{"connectionId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Web/connections/bingmaps","connectionName":"bingmaps","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/centralus/managedApis/bingmaps"},"office365":{"connectionId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Web/connections/office365","connectionName":"office365","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/centralus/managedApis/office365"}}}},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Logic/workflows/LA-TravelTime","name":"LA-TravelTime","type":"Microsoft.Logic/workflows","location":"centralus","tags":{},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/stevens-id":{"principalId":"76fdb419-8277-4a60-8bcc-92cf9cd10585","clientId":"abd47fa5-87d5-4945-a2ec-406149182d16"}}}},{"properties":{"provisioningState":"Succeeded","createdTime":"2020-03-11T20:52:44.0617207Z","changedTime":"2020-03-30T22:38:57.3670024Z","state":"Disabled","version":"08586159989481414063","accessEndpoint":"https://prod-00.centralus.logic.azure.com:443/workflows/2755ab77e6124a3793b5f1bfdf1d97e3","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{"$connections":{"value":{"rss":{"connectionId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Web/connections/rss","connectionName":"rss","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/centralus/managedApis/rss"}}}},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/stevens-rg/providers/Microsoft.Logic/workflows/simple-logic","name":"simple-logic","type":"Microsoft.Logic/workflows","location":"centralus","tags":{}}]}' + string: "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"\ + createdTime\":\"2020-12-04T06:50:05.6920561Z\",\"changedTime\":\"2020-12-04T06:50:05.6785038Z\"\ + ,\"state\":\"Enabled\",\"version\":\"08585945422798239259\",\"accessEndpoint\"\ + :\"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada\"\ + ,\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\"\ + ,\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$connections\":{\"defaultValue\"\ + :{},\"type\":\"Object\"}},\"triggers\":{\"When_a_feed_item_is_published\"\ + :{\"recurrence\":{\"frequency\":\"Minute\",\"interval\":1},\"splitOn\":\"\ + @triggerBody()?['value']\",\"type\":\"ApiConnection\",\"inputs\":{\"host\"\ + :{\"connection\":{\"name\":\"@parameters('$connections')['rss']['connectionId']\"\ + }},\"method\":\"get\",\"path\":\"/OnNewFeed\",\"queries\":{\"feedUrl\":\"\ + http://feeds.reuters.com/reuters/topNews\"}}}},\"actions\":{},\"outputs\"\ + :{}},\"parameters\":{},\"endpointsConfiguration\":{\"workflow\":{\"outgoingIpAddresses\"\ + :[{\"address\":\"13.67.236.125\"},{\"address\":\"104.208.25.27\"},{\"address\"\ + :\"40.122.170.198\"},{\"address\":\"40.113.218.230\"},{\"address\":\"23.100.86.139\"\ + },{\"address\":\"23.100.87.24\"},{\"address\":\"23.100.87.56\"},{\"address\"\ + :\"23.100.82.16\"}],\"accessEndpointIpAddresses\":[{\"address\":\"13.67.236.76\"\ + },{\"address\":\"40.77.111.254\"},{\"address\":\"40.77.31.87\"},{\"address\"\ + :\"104.43.243.39\"}]},\"connector\":{\"outgoingIpAddresses\":[{\"address\"\ + :\"13.89.171.80/28\"},{\"address\":\"40.122.49.51\"},{\"address\":\"52.173.245.164\"\ + },{\"address\":\"52.173.241.27\"}]}}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005\"\ + ,\"name\":\"cli_test_000005\",\"type\":\"Microsoft.Logic/workflows\",\"location\"\ + :\"centralus\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"createdTime\"\ + :\"2020-12-04T06:28:29.5823979Z\",\"changedTime\":\"2020-12-04T06:44:04.7470903Z\"\ + ,\"state\":\"Enabled\",\"version\":\"08585945426407312678\",\"accessEndpoint\"\ + :\"https://prod-12.centralus.logic.azure.com:443/workflows/8807f7d1d2ae4c14a4f3369b9b33378c\"\ + ,\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\"\ + ,\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$connections\":{\"defaultValue\"\ + :{},\"type\":\"Object\"}},\"triggers\":{\"When_a_feed_item_is_published\"\ + :{\"recurrence\":{\"frequency\":\"Minute\",\"interval\":1},\"splitOn\":\"\ + @triggerBody()?['value']\",\"type\":\"ApiConnection\",\"inputs\":{\"host\"\ + :{\"connection\":{\"name\":\"@parameters('$connections')['rss']['connectionId']\"\ + }},\"method\":\"get\",\"path\":\"/OnNewFeed\",\"queries\":{\"feedUrl\":\"\ + http://feeds.reuters.com/reuters/topNews\"}}}},\"actions\":{},\"outputs\"\ + :{}},\"parameters\":{},\"endpointsConfiguration\":{\"workflow\":{\"outgoingIpAddresses\"\ + :[{\"address\":\"13.67.236.125\"},{\"address\":\"104.208.25.27\"},{\"address\"\ + :\"40.122.170.198\"},{\"address\":\"40.113.218.230\"},{\"address\":\"23.100.86.139\"\ + },{\"address\":\"23.100.87.24\"},{\"address\":\"23.100.87.56\"},{\"address\"\ + :\"23.100.82.16\"}],\"accessEndpointIpAddresses\":[{\"address\":\"13.67.236.76\"\ + },{\"address\":\"40.77.111.254\"},{\"address\":\"40.77.31.87\"},{\"address\"\ + :\"104.43.243.39\"}]},\"connector\":{\"outgoingIpAddresses\":[{\"address\"\ + :\"13.89.171.80/28\"},{\"address\":\"40.122.49.51\"},{\"address\":\"52.173.245.164\"\ + },{\"address\":\"52.173.241.27\"}]}}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/harold/providers/Microsoft.Logic/workflows/wf-1\"\ + ,\"name\":\"wf-1\",\"type\":\"Microsoft.Logic/workflows\",\"location\":\"\ + centralus\",\"tags\":{\"foo\":\"123\"}},{\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"createdTime\":\"2019-11-18T06:41:01.5064237Z\",\"changedTime\"\ + :\"2020-04-13T09:52:33.2302252Z\",\"state\":\"Enabled\",\"version\":\"08586148353322519216\"\ + ,\"accessEndpoint\":\"https://prod-29.westus.logic.azure.com:443/workflows/cf5bb036a7fa41d4ad8b964d5eea3343\"\ + ,\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\"\ + ,\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$connections\":{\"defaultValue\"\ + :{},\"type\":\"Object\"}},\"triggers\":{\"every_day_starts_at_18:00_and_06:00\"\ + :{\"recurrence\":{\"frequency\":\"Day\",\"interval\":1,\"schedule\":{\"hours\"\ + :[\"18\"]},\"timeZone\":\"China Standard Time\"},\"type\":\"Recurrence\"}},\"\ + actions\":{\"List_resource_groups\":{\"runAfter\":{},\"type\":\"ApiConnection\"\ + ,\"inputs\":{\"host\":{\"connection\":{\"name\":\"@parameters('$connections')['arm']['connectionId']\"\ + }},\"method\":\"get\",\"path\":\"/subscriptions/@{encodeURIComponent('0b1f6471-1bf0-4dda-aec3-cb9272f09590')}/resourcegroups\"\ + ,\"queries\":{\"x-ms-api-version\":\"2016-06-01\"}}},\"filter_elements_except_resource_group_name_is_equal_to_\\\ + \"AzureSDKTest_reserved\\\"\":{\"runAfter\":{\"List_resource_groups\":[\"\ + Succeeded\"]},\"type\":\"Query\",\"inputs\":{\"from\":\"@body('List_resource_groups')?['value']\"\ + ,\"where\":\"@not(equals(item()?['name'], 'AzureSDKTest_reserved'))\"}},\"\ + \u4E3A\u6BCF\u4E2A\":{\"foreach\":\"@body('filter_elements_except_resource_group_name_is_equal_to_\\\ + \"AzureSDKTest_reserved\\\"')\",\"actions\":{\"Delete_a_resource_group\":{\"\ + runAfter\":{},\"type\":\"ApiConnection\",\"inputs\":{\"host\":{\"connection\"\ + :{\"name\":\"@parameters('$connections')['arm']['connectionId']\"}},\"method\"\ + :\"delete\",\"path\":\"/subscriptions/@{encodeURIComponent('0b1f6471-1bf0-4dda-aec3-cb9272f09590')}/resourcegroups/@{encodeURIComponent(items('\u4E3A\ + \u6BCF\u4E2A')?['name'])}\",\"queries\":{\"x-ms-api-version\":\"2016-06-01\"\ + }}}},\"runAfter\":{\"filter_elements_except_resource_group_name_is_equal_to_\\\ + \"AzureSDKTest_reserved\\\"\":[\"Succeeded\"]},\"type\":\"Foreach\"}},\"outputs\"\ + :{}},\"parameters\":{\"$connections\":{\"value\":{\"arm\":{\"connectionId\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Web/connections/arm\"\ + ,\"connectionName\":\"arm\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/westus/managedApis/arm\"\ + }}}},\"endpointsConfiguration\":{\"workflow\":{\"outgoingIpAddresses\":[{\"\ + address\":\"52.160.92.112\"},{\"address\":\"40.118.244.241\"},{\"address\"\ + :\"40.118.241.243\"},{\"address\":\"157.56.162.53\"},{\"address\":\"157.56.167.147\"\ + },{\"address\":\"104.42.49.145\"},{\"address\":\"40.83.164.80\"},{\"address\"\ + :\"104.42.38.32\"}],\"accessEndpointIpAddresses\":[{\"address\":\"52.160.90.237\"\ + },{\"address\":\"138.91.188.137\"},{\"address\":\"13.91.252.184\"},{\"address\"\ + :\"157.56.160.212 \"}]},\"connector\":{\"outgoingIpAddresses\":[{\"address\"\ + :\"40.112.243.160/28\"},{\"address\":\"104.40.51.248\"},{\"address\":\"104.42.122.49\"\ + },{\"address\":\"40.112.195.87\"},{\"address\":\"13.93.148.62\"}]}}},\"id\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Logic/workflows/AzureSDKTest_ScheduledCleaner\"\ + ,\"name\":\"AzureSDKTest_ScheduledCleaner\",\"type\":\"Microsoft.Logic/workflows\"\ + ,\"location\":\"westus\",\"tags\":{}},{\"properties\":{\"provisioningState\"\ + :\"Succeeded\",\"createdTime\":\"2020-04-24T06:33:36.5052747Z\",\"changedTime\"\ + :\"2020-04-24T06:33:36.4986025Z\",\"state\":\"Enabled\",\"version\":\"08586138968690384726\"\ + ,\"accessEndpoint\":\"https://prod-123.westus.logic.azure.com:443/workflows/72b1a436cf5a4f65950d224869dd7484\"\ + ,\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\"\ + ,\"contentVersion\":\"1.0.0.0\",\"parameters\":{},\"triggers\":{},\"actions\"\ + :{},\"outputs\":{}},\"parameters\":{},\"endpointsConfiguration\":{\"workflow\"\ + :{\"outgoingIpAddresses\":[{\"address\":\"52.160.92.112\"},{\"address\":\"\ + 40.118.244.241\"},{\"address\":\"40.118.241.243\"},{\"address\":\"157.56.162.53\"\ + },{\"address\":\"157.56.167.147\"},{\"address\":\"104.42.49.145\"},{\"address\"\ + :\"40.83.164.80\"},{\"address\":\"104.42.38.32\"}],\"accessEndpointIpAddresses\"\ + :[{\"address\":\"52.160.90.237\"},{\"address\":\"138.91.188.137\"},{\"address\"\ + :\"13.91.252.184\"},{\"address\":\"157.56.160.212 \"}]},\"connector\":{\"\ + outgoingIpAddresses\":[{\"address\":\"40.112.243.160/28\"},{\"address\":\"\ + 104.40.51.248\"},{\"address\":\"104.42.122.49\"},{\"address\":\"40.112.195.87\"\ + },{\"address\":\"13.93.148.62\"}]}}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Logic/workflows/FetchModules\"\ + ,\"name\":\"FetchModules\",\"type\":\"Microsoft.Logic/workflows\",\"location\"\ + :\"westus\",\"tags\":{}},{\"properties\":{\"provisioningState\":\"Succeeded\"\ + ,\"createdTime\":\"2019-11-25T03:03:51.6406922Z\",\"changedTime\":\"2020-03-02T03:30:46.8880289Z\"\ + ,\"state\":\"Disabled\",\"version\":\"08586184870386928444\",\"accessEndpoint\"\ + :\"https://prod-52.westus.logic.azure.com:443/workflows/ad25d96f848444caaf7c4ec48853fbcf\"\ + ,\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\"\ + ,\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$connections\":{\"defaultValue\"\ + :{},\"type\":\"Object\"}},\"triggers\":{\"Recurrence\":{\"recurrence\":{\"\ + frequency\":\"Day\",\"interval\":3},\"type\":\"Recurrence\"}},\"actions\"\ + :{\"List_resource_groups\":{\"runAfter\":{},\"type\":\"ApiConnection\",\"\ + inputs\":{\"host\":{\"connection\":{\"name\":\"@parameters('$connections')['arm']['connectionId']\"\ + }},\"method\":\"get\",\"path\":\"/subscriptions/@{encodeURIComponent('0b1f6471-1bf0-4dda-aec3-cb9272f09590')}/resourcegroups\"\ + ,\"queries\":{\"x-ms-api-version\":\"2016-06-01\"}}},\"Run_query_and_list_results\"\ + :{\"runAfter\":{\"List_resource_groups\":[\"Succeeded\"]},\"type\":\"ApiConnection\"\ + ,\"inputs\":{\"body\":\"[].eventTimestamp\",\"host\":{\"connection\":{\"name\"\ + :\"@parameters('$connections')['azuremonitorlogs']['connectionId']\"}},\"\ + method\":\"post\",\"path\":\"/queryData\",\"queries\":{\"resourcegroups\"\ + :\"new-experiences\",\"resourcename\":\"Microsoft.ClassicCompute\",\"resourcetype\"\ + :\"virtualMachines\",\"subscriptions\":\"0b1f6471-1bf0-4dda-aec3-cb9272f09590\"\ + ,\"timerange\":\"60\"}}}},\"outputs\":{}},\"parameters\":{\"$connections\"\ + :{\"value\":{\"arm\":{\"connectionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Web/connections/arm\"\ + ,\"connectionName\":\"arm\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/westus/managedApis/arm\"\ + },\"azuremonitorlogs\":{\"connectionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Web/connections/azuremonitorlogs\"\ + ,\"connectionName\":\"azuremonitorlogs\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/locations/westus/managedApis/azuremonitorlogs\"\ + }}}},\"endpointsConfiguration\":{\"workflow\":{\"outgoingIpAddresses\":[{\"\ + address\":\"52.160.92.112\"},{\"address\":\"40.118.244.241\"},{\"address\"\ + :\"40.118.241.243\"},{\"address\":\"157.56.162.53\"},{\"address\":\"157.56.167.147\"\ + },{\"address\":\"104.42.49.145\"},{\"address\":\"40.83.164.80\"},{\"address\"\ + :\"104.42.38.32\"}],\"accessEndpointIpAddresses\":[{\"address\":\"52.160.90.237\"\ + },{\"address\":\"138.91.188.137\"},{\"address\":\"13.91.252.184\"},{\"address\"\ + :\"157.56.160.212 \"}]},\"connector\":{\"outgoingIpAddresses\":[{\"address\"\ + :\"40.112.243.160/28\"},{\"address\":\"104.40.51.248\"},{\"address\":\"104.42.122.49\"\ + },{\"address\":\"40.112.195.87\"},{\"address\":\"13.93.148.62\"}]}}},\"id\"\ + :\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureSDKTest_reserved/providers/Microsoft.Logic/workflows/TestLogicApp\"\ + ,\"name\":\"TestLogicApp\",\"type\":\"Microsoft.Logic/workflows\",\"location\"\ + :\"westus\",\"tags\":{}}]}" headers: cache-control: - no-cache content-length: - - '7565' + - '11011' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:12 GMT + - Fri, 04 Dec 2020 06:50:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff + x-ms-original-request-ids: + - centralus:0d755bc2-b58a-49a3-bf40-ad6a3be69fd6 + - westus:d2a88313-9037-4080-a63d-34fe6b643f2d x-ms-ratelimit-remaining-subscription-resource-requests: - - '19999' + - '19997' status: code: 200 message: OK @@ -436,7 +567,7 @@ interactions: ParameterSetName: - --sku --name --resource-group User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004?api-version=2019-05-01 response: @@ -450,7 +581,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:15 GMT + - Fri, 04 Dec 2020 06:50:19 GMT expires: - '-1' pragma: @@ -464,7 +595,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 200 message: OK @@ -482,12 +613,12 @@ interactions: ParameterSetName: - --resource-group --tag --definition --name User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 response: body: - string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:07.7920849Z","changedTime":"2020-04-23T18:30:07.7807943Z","state":"Enabled","version":"08586139402777168780","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:05.6920561Z","changedTime":"2020-12-04T06:50:05.6785038Z","state":"Enabled","version":"08585945422798239259","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":1},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus"}' headers: cache-control: - no-cache @@ -496,7 +627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:15 GMT + - Fri, 04 Dec 2020 06:50:22 GMT expires: - '-1' pragma: @@ -510,7 +641,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '19999' + - '19994' status: code: 200 message: OK @@ -546,12 +677,122 @@ interactions: ParameterSetName: - --resource-group --tag --definition --name User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 + response: + body: + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:23.8850335Z","changedTime":"2020-12-04T06:50:23.8797192Z","state":"Enabled","version":"08585945422616070918","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":2},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus","tags":{"atag":"123"}}' + headers: + cache-control: + - no-cache + content-length: + - '1819' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 04 Dec 2020 06:50:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1193' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - logic workflow update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --tag --name + User-Agent: + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 + response: + body: + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:05.6920561Z","changedTime":"2020-12-04T06:50:23.8797192Z","state":"Enabled","version":"08585945422616070918","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":2},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus","tags":{"atag":"123"}}' + headers: + cache-control: + - no-cache + content-length: + - '1819' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 04 Dec 2020 06:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19997' + status: + code: 200 + message: OK +- request: + body: '{"location": "centralus", "tags": {"atag": "foo"}, "properties": {"state": + "Enabled", "endpointsConfiguration": {"workflow": {"outgoingIpAddresses": [{"address": + "13.67.236.125"}, {"address": "104.208.25.27"}, {"address": "40.122.170.198"}, + {"address": "40.113.218.230"}, {"address": "23.100.86.139"}, {"address": "23.100.87.24"}, + {"address": "23.100.87.56"}, {"address": "23.100.82.16"}], "accessEndpointIpAddresses": + [{"address": "13.67.236.76"}, {"address": "40.77.111.254"}, {"address": "40.77.31.87"}, + {"address": "104.43.243.39"}]}, "connector": {"outgoingIpAddresses": [{"address": + "13.89.171.80/28"}, {"address": "40.122.49.51"}, {"address": "52.173.245.164"}, + {"address": "52.173.241.27"}]}}, "definition": {"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", "parameters": {"$connections": {"defaultValue": + {}, "type": "Object"}}, "triggers": {"When_a_feed_item_is_published": {"recurrence": + {"frequency": "Minute", "interval": 2}, "splitOn": "@triggerBody()?[''value'']", + "type": "ApiConnection", "inputs": {"host": {"connection": {"name": "@parameters(''$connections'')[''rss''][''connectionId'']"}}, + "method": "get", "path": "/OnNewFeed", "queries": {"feedUrl": "http://feeds.reuters.com/reuters/topNews"}}}}, + "actions": {}, "outputs": {}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - logic workflow update + Connection: + - keep-alive + Content-Length: + - '1343' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --tag --name + User-Agent: + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 response: body: - string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-04-23T18:30:16.6182939Z","changedTime":"2020-04-23T18:30:16.6104864Z","state":"Enabled","version":"08586139402688746929","accessEndpoint":"https://prod-04.centralus.logic.azure.com:443/workflows/92721b672a5b4aa4b9dd8b4f27d313b7","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":2},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus","tags":{"atag":"123"}}' + string: '{"properties":{"provisioningState":"Succeeded","createdTime":"2020-12-04T06:50:29.5762822Z","changedTime":"2020-12-04T06:50:29.5618867Z","state":"Enabled","version":"08585945422559172135","accessEndpoint":"https://prod-20.centralus.logic.azure.com:443/workflows/88979037c9cd49a183bb70f0ccfceada","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}},"triggers":{"When_a_feed_item_is_published":{"recurrence":{"frequency":"Minute","interval":2},"splitOn":"@triggerBody()?[''value'']","type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters(''$connections'')[''rss''][''connectionId'']"}},"method":"get","path":"/OnNewFeed","queries":{"feedUrl":"http://feeds.reuters.com/reuters/topNews"}}}},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.67.236.125"},{"address":"104.208.25.27"},{"address":"40.122.170.198"},{"address":"40.113.218.230"},{"address":"23.100.86.139"},{"address":"23.100.87.24"},{"address":"23.100.87.56"},{"address":"23.100.82.16"}],"accessEndpointIpAddresses":[{"address":"13.67.236.76"},{"address":"40.77.111.254"},{"address":"40.77.31.87"},{"address":"104.43.243.39"}]},"connector":{"outgoingIpAddresses":[{"address":"13.89.171.80/28"},{"address":"40.122.49.51"},{"address":"52.173.245.164"},{"address":"52.173.241.27"}]}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005","name":"cli_test_000005","type":"Microsoft.Logic/workflows","location":"centralus","tags":{"atag":"foo"}}' headers: cache-control: - no-cache @@ -560,7 +801,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Apr 2020 18:30:16 GMT + - Fri, 04 Dec 2020 06:50:32 GMT expires: - '-1' pragma: @@ -574,7 +815,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -594,7 +835,7 @@ interactions: ParameterSetName: - --resource-group --name -y User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000001/providers/Microsoft.Logic/workflows/cli_test_000005?api-version=2019-05-01 response: @@ -606,7 +847,7 @@ interactions: content-length: - '0' date: - - Thu, 23 Apr 2020 18:30:18 GMT + - Fri, 04 Dec 2020 06:50:41 GMT expires: - '-1' pragma: @@ -616,7 +857,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK @@ -636,7 +877,7 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.3.1 azsdk-python-logicmanagementclient/unknown Python/3.8.1 (Windows-10-10.0.19608-SP0) + - AZURECLI/2.15.1 azsdk-python-logicmanagementclient/unknown Python/3.7.4 (Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_000002/providers/Microsoft.Logic/integrationAccounts/cli_test_000004?api-version=2019-05-01 response: @@ -648,7 +889,7 @@ interactions: content-length: - '0' date: - - Thu, 23 Apr 2020 18:30:19 GMT + - Fri, 04 Dec 2020 06:50:45 GMT expires: - '-1' pragma: @@ -658,7 +899,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK diff --git a/src/logic/azext_logic/tests/latest/test_logic_scenario.py b/src/logic/azext_logic/tests/latest/test_logic_scenario.py index 1bfdda33e6b..8703d513a29 100644 --- a/src/logic/azext_logic/tests/latest/test_logic_scenario.py +++ b/src/logic/azext_logic/tests/latest/test_logic_scenario.py @@ -96,6 +96,13 @@ def test_logic(self, resource_group): checks=[JMESPathCheck('tags.atag', 123), JMESPathCheck('definition.triggers.When_a_feed_item_is_published.recurrence.interval', 2)]) + self.cmd('az logic workflow update ' + '--resource-group "{rg}" ' + '--tag atag=foo ' + '--name "{testWorkflow}"', + checks=[JMESPathCheck('tags.atag', 'foo'), + JMESPathCheck('definition.triggers.When_a_feed_item_is_published.recurrence.interval', 2)]) + self.cmd('az logic workflow delete ' '--resource-group "{rg}" ' '--name "{testWorkflow}" ' diff --git a/src/logic/setup.py b/src/logic/setup.py index 5b019e43e98..c65af464056 100644 --- a/src/logic/setup.py +++ b/src/logic/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.1.1' +VERSION = '0.1.2' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers