diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index ed9f05f1507..380b7dd0d18 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +0.3.32 +++++++ +* Fix for 'az containerapp job update' command when updating Container App job with a trigger configuration + 0.3.31 ++++++ * Fix issue when using 'az containerapp up' to create a container app from a local source with a Dockerfile diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 85b4ea2007d..f7a0360bfde 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -1933,7 +1933,7 @@ def update_containerappsjob_logic(cmd, update_map = {} update_map['replicaConfigurations'] = replica_timeout or replica_retry_limit - update_map['triggerConfigurations'] = replica_completion_count or parallelism or cron_expression or scale_rule_name + update_map['triggerConfigurations'] = replica_completion_count or parallelism or cron_expression or scale_rule_name or scale_rule_type or scale_rule_auth or polling_interval or min_executions or max_executions update_map['container'] = image or container_name or set_env_vars is not None or remove_env_vars is not None or replace_env_vars is not None or remove_all_env_vars or cpu or memory or startup_command is not None or args is not None update_map['registry'] = registry_server or registry_user or registry_pass @@ -1992,14 +1992,13 @@ def update_containerappsjob_logic(cmd, if containerappsjob_def["properties"]["configuration"]["triggerType"] == "Event": eventTriggerConfig_def = None eventTriggerConfig_def = containerappsjob_def["properties"]["configuration"]["eventTriggerConfig"] - if replica_completion_count is not None or parallelism is not None: + if replica_completion_count is not None or parallelism is not None or min_executions is not None or max_executions is not None or polling_interval is not None or scale_rule_name is not None: if replica_completion_count: eventTriggerConfig_def["replicaCompletionCount"] = replica_completion_count if parallelism: eventTriggerConfig_def["parallelism"] = parallelism - # Scale - if "scale" not in eventTriggerConfig_def["properties"]["template"]: + if "scale" in eventTriggerConfig_def["scale"]: eventTriggerConfig_def["scale"] = {} if min_executions is not None: eventTriggerConfig_def["scale"]["minExecutions"] = min_executions @@ -2015,11 +2014,9 @@ def update_containerappsjob_logic(cmd, scale_def["minExecutions"] = min_executions scale_def["maxReplicas"] = max_executions # so we don't overwrite rules - if safe_get(eventTriggerConfig_def, "scale", "rules"): - eventTriggerConfig_def["scale"].pop(["rules"]) + if safe_get(new_containerappsjob, "properties", "template", "scale", "rules"): + new_containerappsjob["properties"]["template"]["scale"].pop(["rules"]) if scale_rule_name: - if not scale_rule_type: - scale_rule_type = "http" scale_rule_type = scale_rule_type.lower() scale_rule_def = ScaleRuleModel curr_metadata = {} diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_eventjob_crudoperations_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_eventjob_crudoperations_e2e.yaml new file mode 100644 index 00000000000..90978456f5c --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_eventjob_crudoperations_e2e.yaml @@ -0,0 +1,3614 @@ +interactions: +- request: + body: '{"location": "eastus", "properties": {"retentionInDays": 30, "sku": {"name": + "PerGB2018"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-05-22T18:08:10.4855671Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-05-23T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-22T18:08:10.4855671Z","modifiedDate":"2023-05-22T18:08:10.4855671Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '851' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-05-22T18:08:10.4855671Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-05-23T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-05-22T18:08:10.4855671Z","modifiedDate":"2023-05-22T18:08:10.4855671Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '851' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:10 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 + response: + body: + string: '{"primarySharedKey":"58+aw4WO/nzHmLm1a8F4EVCPaDxeN182nrOJCBH3NgBrsIcH9eEu6okm2yZxNKieDaZmbzJnRE0exC7E/Vs4xA==","secondarySharedKey":"4F9hU2m/Z/Skqyq3hqcPt9Iy1//hz1oQOusVzRSSll6juH9l1GKo1y9Yb0JCDRjKowKAtlQILMmLJRS4+RaSCw=="}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01 + cache-control: + - no-cache + content-length: + - '223' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + 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' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:12 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:12 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:12 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": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", + "logAnalyticsConfiguration": {"customerId": "aa9124e6-a202-4ccb-a2aa-efe3cd7588f2", + "sharedKey": "58+aw4WO/nzHmLm1a8F4EVCPaDxeN182nrOJCBH3NgBrsIcH9eEu6okm2yZxNKieDaZmbzJnRE0exC7E/Vs4xA=="}}, + "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": + false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '446' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","name":"env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:13.6803473Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:13.6803473Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"kindwater-dbb3a872.eastus.azurecontainerapps.io","staticIp":"20.81.66.34","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.4"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"A9C4A62A8160201BC233070CC5FF02E5C573D0555962F6695C6FB395825498DC","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1501' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"InProgress","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/b5ec99db-3942-465b-9cc1-aafe6fb03ed8","name":"b5ec99db-3942-465b-9cc1-aafe6fb03ed8","status":"Succeeded","startTime":"2023-05-22T18:08:15.6426801"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","name":"env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:13.6803473","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:13.6803473"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"kindwater-dbb3a872.eastus.azurecontainerapps.io","staticIp":"20.81.66.34","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.4"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"A9C4A62A8160201BC233070CC5FF02E5C573D0555962F6695C6FB395825498DC","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '1501' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:33 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","name":"env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:13.6803473","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:13.6803473"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"kindwater-dbb3a872.eastus.azurecontainerapps.io","staticIp":"20.81.66.34","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.4"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"A9C4A62A8160201BC233070CC5FF02E5C573D0555962F6695C6FB395825498DC","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '1501' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:33 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","name":"env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:13.6803473","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:13.6803473"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"kindwater-dbb3a872.eastus.azurecontainerapps.io","staticIp":"20.81.66.34","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.4"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"A9C4A62A8160201BC233070CC5FF02E5C573D0555962F6695C6FB395825498DC","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '1501' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:34 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","name":"env000002","type":"Microsoft.App/managedEnvironments","location":"eastus","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:13.6803473","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:13.6803473"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"kindwater-dbb3a872.eastus.azurecontainerapps.io","staticIp":"20.81.66.34","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"aa9124e6-a202-4ccb-a2aa-efe3cd7588f2","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.4"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"A9C4A62A8160201BC233070CC5FF02E5C573D0555962F6695C6FB395825498DC","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-02-01, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '1501' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002", + "configuration": {"secrets": [{"name": "connection-string-secret", "value": + "testConnString", "keyVaultUrl": "", "identity": ""}], "triggerType": "Event", + "replicaTimeout": 60, "replicaRetryLimit": 1, "manualTriggerConfig": null, "scheduleTriggerConfig": + null, "registries": null, "dapr": null, "eventTriggerConfig": {"replicaCompletionCount": + 1, "parallelism": 1, "scale": {"minExecutions": 0, "maxExecutions": 10, "pollingInterval": + 60, "rules": [{"name": "queue", "azureQueue": null, "custom": null, "http": + null, "type": "azure-queue", "metadata": {"accountName": "containerappextension", + "queueName": "testeventdrivenjobs", "queueLength": "1", "connectionFromEnv": + "AZURE_STORAGE_CONNECTION_STRING"}, "auth": [{"triggerParameter": "connection", + "secretRef": "connection-string-secret"}]}]}}}, "template": {"containers": [{"image": + "mcr.microsoft.com/k8se/quickstart-jobs:latest", "name": "job1000003", "command": + null, "args": null, "env": [{"name": "AZURE_STORAGE_QUEUE_NAME", "value": "testeventdrivenjobs"}, + {"name": "AZURE_STORAGE_CONNECTION_STRING", "secretRef": "connection-string-secret"}], + "resources": {"cpu": 0.5, "memory": "1Gi"}, "volumeMounts": null}], "initContainers": + null, "volumes": null}}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + Content-Length: + - '1485' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038Z"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/9f8c2196-d6a2-4ddd-bd3f-3d9d055ad7cb?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '2040' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2038' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2038' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2038' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --environment --trigger-type --replica-timeout --replica-retry-limit + --replica-completion-count --parallelism --min-executions --max-executions + --polling-interval --scale-rule-name --scale-rule-type --scale-rule-metadata + --scale-rule-auth --image --cpu --memory --secrets --env-vars + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2037' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:47 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2037' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:49 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs?api-version=2023-04-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}]}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2049' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --replica-timeout --replica-retry-limit --image --max-executions + --cpu --memory + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:50 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --replica-timeout --replica-retry-limit --image --max-executions + --cpu --memory + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:51 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --replica-timeout --replica-retry-limit --image --max-executions + --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:36.9036038"},"properties":{"provisioningState":"Succeeded","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":60,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":10,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2037' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"replicaTimeout": 300, "replicaRetryLimit": + 1, "eventTriggerConfig": {"replicaCompletionCount": 1, "parallelism": 1, "scale": + {"minExecutions": 0, "maxExecutions": 9, "pollingInterval": 60, "rules": [{"name": + "queue", "type": "azure-queue", "metadata": {"accountName": "containerappextension", + "connectionFromEnv": "AZURE_STORAGE_CONNECTION_STRING", "queueLength": "1", + "queueName": "testeventdrivenjobs"}, "auth": [{"secretRef": "connection-string-secret", + "triggerParameter": "connection"}]}]}}}, "template": {"containers": [{"image": + "mcr.microsoft.com/k8se/quickstart-jobs:latest", "name": "job1000003", "env": + [{"name": "AZURE_STORAGE_QUEUE_NAME", "value": "testeventdrivenjobs"}, {"name": + "AZURE_STORAGE_CONNECTION_STRING", "secretRef": "connection-string-secret", + "value": ""}], "resources": {"cpu": 0.5, "memory": "1.0Gi", "ephemeralStorage": + "2Gi"}}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job update + Connection: + - keep-alive + Content-Length: + - '896' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --replica-timeout --replica-retry-limit --image --max-executions + --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 22 May 2023 18:08:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappsjobOperationResults/c10ce0fe-385f-464c-b66b-bd77453e3328?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --replica-timeout --replica-retry-limit --image --max-executions + --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:52.5423534"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":300,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":9,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","value":"","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2049' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:53 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:52.5423534"},"properties":{"provisioningState":"InProgress","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":300,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":9,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","value":"","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2049' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:54 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 22 May 2023 18:08:55 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappsjobOperationResults/c10ce0fe-385f-464c-b66b-bd77453e3328?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:52.5423534"},"properties":{"provisioningState":"Deleting","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":300,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":9,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","value":"","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2047' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:52.5423534"},"properties":{"provisioningState":"Deleting","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":300,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":9,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","value":"","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2047' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:08:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003","name":"job1000003","type":"Microsoft.App/jobs","location":"East + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-05-22T18:08:36.9036038","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-22T18:08:52.5423534"},"properties":{"provisioningState":"Deleting","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":[{"name":"connection-string-secret"}],"triggerType":"Event","replicaTimeout":300,"replicaRetryLimit":1,"manualTriggerConfig":null,"scheduleTriggerConfig":null,"eventTriggerConfig":{"replicaCompletionCount":1,"parallelism":1,"scale":{"minExecutions":0,"maxExecutions":9,"pollingInterval":60,"rules":[{"name":"queue","type":"azure-queue","metadata":{"accountName":"containerappextension","connectionFromEnv":"AZURE_STORAGE_CONNECTION_STRING","queueLength":"1","queueName":"testeventdrivenjobs"},"auth":[{"secretRef":"connection-string-secret","triggerParameter":"connection"}]}]}},"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"job1000003","env":[{"name":"AZURE_STORAGE_QUEUE_NAME","value":"testeventdrivenjobs"},{"name":"AZURE_STORAGE_CONNECTION_STRING","value":"","secretRef":"connection-string-secret"}],"resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job1000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '2047' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:09:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job1000003?api-version=2023-04-01-preview + response: + body: + string: '{"error":{"code":"ContainerAppsJobNotFound","message":"Container apps + job ''job1000003'' was not found."}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '104' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:09:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '10587' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:09:04 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs?api-version=2023-04-01-preview + response: + body: + string: '{"value":[]}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 May 2023 18:09:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_event_triggered_crud.py b/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_event_triggered_crud.py new file mode 100644 index 00000000000..a8cfb1e45fd --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_event_triggered_crud.py @@ -0,0 +1,73 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import time + +from azure.cli.testsdk.scenario_tests import AllowLargeResponse +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, JMESPathCheck, live_only, StorageAccountPreparer) + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + +from azext_containerapp.tests.latest.common import TEST_LOCATION +from .utils import create_containerapp_env + +class ContainerAppJobsCRUDOperationsTest(ScenarioTest): + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location="northcentralus") + # test for CRUD operations on Container App Job resource with trigger type as event + def test_containerapp_eventjob_crudoperations_e2e(self, resource_group): + import requests + + self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) + + env = self.create_random_name(prefix='env', length=24) + job = self.create_random_name(prefix='job1', length=24) + + create_containerapp_env(self, env, resource_group) + + # create a container app environment for a Container App Job resource + self.cmd('containerapp env show -n {} -g {}'.format(env, resource_group), checks=[ + JMESPathCheck('name', env) + ]) + + ## test for CRUD operations on Container App Job resource with trigger type as event + # create a Container App Job resource with trigger type as event + self.cmd("az containerapp job create --name {} --resource-group {} --environment {} --trigger-type 'Event' --replica-timeout 60 --replica-retry-limit 1 --replica-completion-count 1 --parallelism 1 --min-executions 0 --max-executions 10 --polling-interval 60 --scale-rule-name 'queue' --scale-rule-type 'azure-queue' --scale-rule-metadata 'accountName=containerappextension' 'queueName=testeventdrivenjobs' 'queueLength=1' 'connectionFromEnv=AZURE_STORAGE_CONNECTION_STRING' --scale-rule-auth 'connection=connection-string-secret' --image 'mcr.microsoft.com/k8se/quickstart-jobs:latest' --cpu '0.5' --memory '1Gi' --secrets 'connection-string-secret=testConnString' --env-vars 'AZURE_STORAGE_QUEUE_NAME=testeventdrivenjobs' 'AZURE_STORAGE_CONNECTION_STRING=secretref:connection-string-secret'".format(job, resource_group, env)) + + # verify the container app job resource + self.cmd("az containerapp job show --resource-group {} --name {}".format(resource_group, job), checks=[ + JMESPathCheck('name', job), + JMESPathCheck('properties.configuration.replicaTimeout', 60), + JMESPathCheck('properties.configuration.replicaRetryLimit', 1), + JMESPathCheck('properties.configuration.triggerType', "event", case_sensitive=False), + JMESPathCheck('properties.configuration.eventTriggerConfig.scale.maxExecutions', 10), + ]) + + # get list of Container App Jobs + jobs_list = self.cmd("az containerapp job list --resource-group {}".format(resource_group)).get_output_in_json() + self.assertTrue(len(jobs_list) == 1) + + # update the Container App Job resource + self.cmd("az containerapp job update --resource-group {} --name {} --replica-timeout 300 --replica-retry-limit 1 --image mcr.microsoft.com/k8se/quickstart-jobs:latest --max-executions 9 --cpu '0.5' --memory '1.0Gi'".format(resource_group, job)) + + # verify the updated Container App Job resource + self.cmd("az containerapp job show --resource-group {} --name {}".format(resource_group, job), checks=[ + JMESPathCheck('name', job), + JMESPathCheck('properties.configuration.replicaTimeout', 300), + JMESPathCheck('properties.configuration.replicaRetryLimit', 1), + JMESPathCheck('properties.configuration.triggerType', "event", case_sensitive=False), + JMESPathCheck('properties.configuration.eventTriggerConfig.scale.maxExecutions', 9), + JMESPathCheck('properties.template.containers[0].image', "mcr.microsoft.com/k8se/quickstart-jobs:latest"), + JMESPathCheck('properties.template.containers[0].resources.cpu', "0.5"), + JMESPathCheck('properties.template.containers[0].resources.memory', "1Gi"), + ]) + + # delete the Container App Job resource + self.cmd("az containerapp job delete --resource-group {} --name {} --yes".format(resource_group, job)) + + # verify the Container App Job resource is deleted + jobs_list = self.cmd("az containerapp job list --resource-group {}".format(resource_group)).get_output_in_json() + self.assertTrue(len(jobs_list) == 0) \ No newline at end of file diff --git a/src/containerapp/setup.py b/src/containerapp/setup.py index cff7a216973..ae98d785ecb 100644 --- a/src/containerapp/setup.py +++ b/src/containerapp/setup.py @@ -28,7 +28,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.3.31' +VERSION = '0.3.32' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers