diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index dcb1fa845e1..e652c8e7a13 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -2,6 +2,11 @@ Release History =============== + +Upcoming +++++++ +* 'az containerapp job start': update start execution payload format to exlude template property from API version 2023-05-01 onwards + 0.3.36 ++++++ * 'az containerapp hostname bind': fix exception when not bringing --validation-method inputs diff --git a/src/containerapp/azext_containerapp/_models.py b/src/containerapp/azext_containerapp/_models.py index e22380a591e..3b2928416ca 100644 --- a/src/containerapp/azext_containerapp/_models.py +++ b/src/containerapp/azext_containerapp/_models.py @@ -206,10 +206,8 @@ # Added template for starting job executions JobExecutionTemplate = { - "template": { - "containers": None, # [Container] - "initContainers": None # [Container] - } + "containers": None, # [Container] + "initContainers": None # [Container] } JobConfiguration = { diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 5d8a9e75b8d..aa1c2fbe123 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -2151,7 +2151,16 @@ def start_containerappsjob(cmd, args=None, cpu=None, memory=None, - registry_identity=None): + registry_identity=None, + yaml=None): + + if yaml: + if image or container_name or env_vars or\ + startup_command or args or cpu or memory or\ + startup_command or args: + logger.warning('Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead') + return start_containerappjob_execution_yaml(cmd=cmd, name=name, resource_group_name=resource_group_name, file_name=yaml) + template_def = None if image is not None: @@ -2174,7 +2183,7 @@ def start_containerappsjob(cmd, if resources_def is not None: container_def["resources"] = resources_def - template_def["template"]["containers"] = [container_def] + template_def["containers"] = [container_def] try: return ContainerAppsJobClient.start_job(cmd=cmd, resource_group_name=resource_group_name, name=name, containerapp_job_start_envelope=template_def) @@ -2182,6 +2191,42 @@ def start_containerappsjob(cmd, handle_raw_exception(e) +def start_containerappjob_execution_yaml(cmd, name, resource_group_name, file_name, no_wait=False): + yaml_containerappjob_execution = load_yaml_file(file_name) + if type(yaml_containerappjob_execution) != dict: # pylint: disable=unidiomatic-typecheck + raise InvalidArgumentValueError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapp job execution YAML.') + + containerappjob_def = None + + # Check if containerapp exists + try: + containerappjob_def = ContainerAppsJobClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except Exception: + pass + + if not containerappjob_def: + raise ResourceNotFoundError("The containerapp job '{}' does not exist".format(name)) + + containerappjobexec_def = None + + # Deserialize the yaml into a ContainerApp job execution object. Need this since we're not using SDK + try: + deserializer = create_deserializer() + containerappjobexec_def = deserializer('JobExecutionTemplate', yaml_containerappjob_execution) + except DeserializationError as ex: + raise InvalidArgumentValueError('Invalid YAML provided. Please see https://aka.ms/azure-container-apps-yaml for a valid containerapp job execution YAML.') from ex + + containerappjobexec_def = _convert_object_from_snake_to_camel_case(_object_to_dict(containerappjobexec_def)) + + # Clean null values since this is an update + containerappjobexec_def = clean_null_values(containerappjobexec_def) + + try: + return ContainerAppsJobClient.start_job(cmd=cmd, resource_group_name=resource_group_name, name=name, containerapp_job_start_envelope=containerappjobexec_def) + except CLIError as e: + handle_raw_exception(e) + + def stop_containerappsjob(cmd, resource_group_name, name, job_execution_name=None, execution_name_list=None): try: if execution_name_list is not None: diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_custom_executionstest_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_custom_executionstest_e2e.yaml new file mode 100644 index 00000000000..5a00cca073c --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_custom_executionstest_e2e.yaml @@ -0,0 +1,2598 @@ +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.49.0 (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":"55aa33c7-eb79-4b7f-9992-af9d7f904966","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-27T15:37:09.0885275Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-27T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-27T15:37:09.0885275Z","modifiedDate":"2023-07-27T15:37:09.0885275Z"},"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: + - Thu, 27 Jul 2023 15:37:08 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.49.0 (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":"55aa33c7-eb79-4b7f-9992-af9d7f904966","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-27T15:37:09.0885275Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-27T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-27T15:37:09.0885275Z","modifiedDate":"2023-07-27T15:37:09.0885275Z"},"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: + - Thu, 27 Jul 2023 15:37:08 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.49.0 (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":"BeF1LxcPMWzqxnIZlViZuRMUbcJWH+pSjdsDLXaz8g9yM5wewVaWlHttf9FKvjevcr7lfgAHsgz/cZivJeYX0A==","secondarySharedKey":"GJv0FLmOv4yD9lZIsuJw77IRgB6a0eRY/10hNDwwUAei26mR60yJojyOsLafo5TuxniXsTGeIsXZrE3Czequ6g=="}' + 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: + - Thu, 27 Jul 2023 15:37:09 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:09 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:09 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:10 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:10 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": "northcentralusstage", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", + "logAnalyticsConfiguration": {"customerId": "55aa33c7-eb79-4b7f-9992-af9d7f904966", + "sharedKey": "BeF1LxcPMWzqxnIZlViZuRMUbcJWH+pSjdsDLXaz8g9yM5wewVaWlHttf9FKvjevcr7lfgAHsgz/cZivJeYX0A=="}}, + "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": + false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '459' + 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.49.0 + 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":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:11.5666998Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:11.5666998Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whitemeadow-822655d4.northcentralusstage.azurecontainerapps.io","staticIp":"20.83.1.138","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"55aa33c7-eb79-4b7f-9992-af9d7f904966","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://northcentralusstage.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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1569' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:13 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"InProgress","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:13 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"InProgress","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"InProgress","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:18 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"InProgress","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:20 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"InProgress","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:24 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/managedEnvironmentOperationStatuses/774b1d62-5fa3-45f3-a490-2a7ec2c10064","name":"774b1d62-5fa3-45f3-a490-2a7ec2c10064","status":"Succeeded","startTime":"2023-07-27T15:37:13.3436982"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '296' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:25 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.49.0 + 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":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:11.5666998","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:11.5666998"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whitemeadow-822655d4.northcentralusstage.azurecontainerapps.io","staticIp":"20.83.1.138","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"55aa33c7-eb79-4b7f-9992-af9d7f904966","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://northcentralusstage.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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1569' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:27 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:27 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.49.0 + 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":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:11.5666998","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:11.5666998"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whitemeadow-822655d4.northcentralusstage.azurecontainerapps.io","staticIp":"20.83.1.138","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"55aa33c7-eb79-4b7f-9992-af9d7f904966","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://northcentralusstage.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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1569' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:27 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:28 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.49.0 + 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":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:11.5666998","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:11.5666998"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whitemeadow-822655d4.northcentralusstage.azurecontainerapps.io","staticIp":"20.83.1.138","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"55aa33c7-eb79-4b7f-9992-af9d7f904966","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://northcentralusstage.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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1569' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - AZURECLI/2.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:29 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: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + 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":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:11.5666998","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:11.5666998"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whitemeadow-822655d4.northcentralusstage.azurecontainerapps.io","staticIp":"20.83.1.138","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"55aa33c7-eb79-4b7f-9992-af9d7f904966","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://northcentralusstage.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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1569' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:29 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: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - AZURECLI/2.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:30 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": "North Central US (Stage)", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002", + "configuration": {"secrets": null, "triggerType": "manual", "replicaTimeout": + 200, "replicaRetryLimit": 1, "manualTriggerConfig": {"replicaCompletionCount": + 1, "parallelism": 1}, "scheduleTriggerConfig": null, "eventTriggerConfig": null, + "registries": null, "dapr": null}, "template": {"containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", + "name": "job3000003", "command": null, "args": null, "env": null, "resources": + {"cpu": 0.25, "memory": "0.5Gi"}, "volumeMounts": null}], "initContainers": + null, "volumes": null}, "workloadProfileName": null}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + Content-Length: + - '853' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596Z"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/northcentralusstage/containerappsjobOperationStatuses/1ea01b42-fa45-45fa-ba5f-536e4e725434?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1363' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:30 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: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1361' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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 job create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1361' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --environment --replica-timeout --replica-retry-limit + --trigger-type --replica-completion-count --parallelism --image --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1360' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:37 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.49.0 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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:37 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1360' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:37 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: '{"containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", "name": + "job3-custom-exec", "command": null, "args": null, "env": null, "resources": + {"cpu": 0.5, "memory": "1Gi"}, "volumeMounts": null}], "initContainers": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job start + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --image --container-name --cpu --memory + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/start?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-54jyiz9","name":"job3000003-54jyiz9"}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:39 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-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job execution show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --job-execution-name + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-54jyiz9?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-54jyiz9","name":"job3000003-54jyiz9","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-07-27T15:37:39+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3-custom-exec","resources":{"cpu":0.500,"memory":"1Gi"}}],"initContainers":[]}}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:40 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 start + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yaml + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003","name":"job3000003","type":"Microsoft.App/jobs","location":"North + Central US (Stage)","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:30.9199596","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:30.9199596"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job3000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://northcentralusstage.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job3000003/eventstream"},"identity":{"type":"None"}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '1360' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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: '{"containers": [{"image": "mcr.microsoft.com/k8se/quickstart-jobs:latest", + "name": "test-yaml-execution", "env": [{"name": "MY_ENV_VAR", "value": "hello"}], + "resources": {"cpu": 0.5, "memory": "1Gi"}}], "initContainers": [{"image": "k8seteste2e.azurecr.io/e2e-apps/kuar:green", + "name": "simple-sleep-container", "command": ["/bin/sh", "-c", "sleep 10"], + "resources": {"cpu": 0.25, "memory": "0.5Gi"}}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job start + Connection: + - keep-alive + Content-Length: + - '402' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --yaml + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/start?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-jtybxfq","name":"job3000003-jtybxfq"}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp job execution show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --job-execution-name + User-Agent: + - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + AZURECLI/2.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-jtybxfq?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job3000003/executions/job3000003-jtybxfq","name":"job3000003-jtybxfq","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-07-27T15:37:42+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart-jobs:latest","name":"test-yaml-execution","env":[{"name":"MY_ENV_VAR","value":"hello"}],"resources":{"cpu":0.500,"memory":"1Gi"}}],"initContainers":[{"image":"k8seteste2e.azurecr.io/e2e-apps/kuar:green","name":"simple-sleep-container","command":["/bin/sh","-c","sleep + 10"],"resources":{"cpu":0.250,"memory":"0.5Gi"}}]}}}' + headers: + api-supported-versions: + - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview + cache-control: + - no-cache + content-length: + - '692' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37: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 +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_executionstest_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_executionstest_e2e.yaml index b106ec3514f..0fa343a5dbc 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_executionstest_e2e.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_job_executionstest_e2e.yaml @@ -23,7 +23,7 @@ interactions: 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":"ae37666f-6aef-49fa-84eb-45ad88985ebe","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-29T17:34:17.9602706Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-30T07:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-29T17:34:17.9602706Z","modifiedDate":"2023-06-29T17:34:17.9602706Z"},"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"}' + string: '{"properties":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-27T15:37:10.0673391Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-27T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-27T15:37:10.0673391Z","modifiedDate":"2023-07-27T15:37:10.0673391Z"},"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: - '*' @@ -36,7 +36,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:17 GMT + - Thu, 27 Jul 2023 15:37:10 GMT expires: - '-1' location: @@ -75,7 +75,7 @@ interactions: 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":"ae37666f-6aef-49fa-84eb-45ad88985ebe","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-29T17:34:17.9602706Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-30T07:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-29T17:34:17.9602706Z","modifiedDate":"2023-06-29T17:34:17.9602706Z"},"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"}' + string: '{"properties":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-27T15:37:10.0673391Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-27T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-27T15:37:10.0673391Z","modifiedDate":"2023-07-27T15:37:10.0673391Z"},"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: - '*' @@ -88,7 +88,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:17 GMT + - Thu, 27 Jul 2023 15:37:10 GMT expires: - '-1' pragma: @@ -129,7 +129,7 @@ interactions: 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":"m+4cCN3V8DXU18u7bPboanMO57MFVwyesFSN0rY+l6VoZFzH9bPMEQfHmVDDQv62zZH67ZrhzWzsNAtT43TgFg==","secondarySharedKey":"9kd7RMVJLdMxUhNRYGIGm4nte3SticNizERe/1LATr2XR1ZIyElzYWKt7GG8euM0OcP5b2hbXMK5HkmZlcMhvA=="}' + string: '{"primarySharedKey":"e3M2DnRJ/eIRb9QqSRqY0vSeZrDV3g0o8d+Vq8dcaakV7EeX+ZRFFfgttdkiKR2rpl8UIKlWrlCuIsCd07Eo6Q==","secondarySharedKey":"JpGfRYkSocnflkm8hMoPLeFuy8Ao0qISu2jnGsgG+TWy2DIhBUenq8kPMyWn4c3txSDKamSmpV6EEddoy1Kycw=="}' headers: access-control-allow-origin: - '*' @@ -142,7 +142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:18 GMT + - Thu, 27 Jul 2023 15:37:10 GMT expires: - '-1' pragma: @@ -273,21 +273,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:18 GMT + - Thu, 27 Jul 2023 15:37:10 GMT expires: - '-1' pragma: @@ -410,21 +416,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:19 GMT + - Thu, 27 Jul 2023 15:37:11 GMT expires: - '-1' pragma: @@ -547,21 +559,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:19 GMT + - Thu, 27 Jul 2023 15:37:11 GMT expires: - '-1' pragma: @@ -684,21 +702,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:20 GMT + - Thu, 27 Jul 2023 15:37:11 GMT expires: - '-1' pragma: @@ -715,8 +739,8 @@ interactions: - request: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", - "logAnalyticsConfiguration": {"customerId": "ae37666f-6aef-49fa-84eb-45ad88985ebe", - "sharedKey": "m+4cCN3V8DXU18u7bPboanMO57MFVwyesFSN0rY+l6VoZFzH9bPMEQfHmVDDQv62zZH67ZrhzWzsNAtT43TgFg=="}}, + "logAnalyticsConfiguration": {"customerId": "fb0a71c8-9298-4ae1-a28c-59f7237502b4", + "sharedKey": "e3M2DnRJ/eIRb9QqSRqY0vSeZrDV3g0o8d+Vq8dcaakV7EeX+ZRFFfgttdkiKR2rpl8UIKlWrlCuIsCd07Eo6Q=="}}, "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": false}}' headers: @@ -742,21 +766,21 @@ interactions: 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":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:21.3596413Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:21.3596413Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"proudwater-2d202a11.eastus.azurecontainerapps.io","staticIp":"20.246.191.149","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"ae37666f-6aef-49fa-84eb-45ad88985ebe","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.7"},"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,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:12.5955269Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:12.5955269Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whiterock-738d6f6f.eastus.azurecontainerapps.io","staticIp":"20.241.163.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"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,"expirationDate":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-04-01-preview, 2023-05-01, 2023-05-02-preview azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1528' + - '1527' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:22 GMT + - Thu, 27 Jul 2023 15:37:14 GMT expires: - '-1' pragma: @@ -793,10 +817,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"InProgress","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -804,11 +828,11 @@ interactions: cache-control: - no-cache content-length: - - '283' + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:23 GMT + - Thu, 27 Jul 2023 15:37:14 GMT expires: - '-1' pragma: @@ -845,10 +869,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"InProgress","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -856,11 +880,11 @@ interactions: cache-control: - no-cache content-length: - - '283' + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:26 GMT + - Thu, 27 Jul 2023 15:37:17 GMT expires: - '-1' pragma: @@ -897,10 +921,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"InProgress","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -908,11 +932,11 @@ interactions: cache-control: - no-cache content-length: - - '283' + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:28 GMT + - Thu, 27 Jul 2023 15:37:19 GMT expires: - '-1' pragma: @@ -949,10 +973,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"InProgress","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -960,11 +984,11 @@ interactions: cache-control: - no-cache content-length: - - '283' + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:31 GMT + - Thu, 27 Jul 2023 15:37:22 GMT expires: - '-1' pragma: @@ -1001,10 +1025,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"InProgress","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1012,11 +1036,63 @@ interactions: cache-control: - no-cache content-length: - - '283' + - '284' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:24 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview + cache-control: + - no-cache + content-length: + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:34 GMT + - Thu, 27 Jul 2023 15:37:27 GMT expires: - '-1' pragma: @@ -1053,10 +1129,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/11a5c682-50fe-49a2-a8ac-24dcd45facb4","name":"11a5c682-50fe-49a2-a8ac-24dcd45facb4","status":"Succeeded","startTime":"2023-06-29T17:34:23.430742"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"InProgress","startTime":"2023-07-27T15:37:14.5439157"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1064,11 +1140,63 @@ interactions: cache-control: - no-cache content-length: - - '282' + - '284' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:36 GMT + - Thu, 27 Jul 2023 15:37:30 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.49.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/1374fa89-575b-4780-b945-eee4f07b8777","name":"1374fa89-575b-4780-b945-eee4f07b8777","status":"Succeeded","startTime":"2023-07-27T15:37:14.5439157"}' + headers: + api-supported-versions: + - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, + 2023-04-01-preview, 2023-05-01, 2023-05-02-preview + cache-control: + - no-cache + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 Jul 2023 15:37:32 GMT expires: - '-1' pragma: @@ -1109,7 +1237,7 @@ interactions: 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":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:21.3596413","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:21.3596413"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"proudwater-2d202a11.eastus.azurecontainerapps.io","staticIp":"20.246.191.149","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"ae37666f-6aef-49fa-84eb-45ad88985ebe","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.7"},"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,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:12.5955269","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:12.5955269"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whiterock-738d6f6f.eastus.azurecontainerapps.io","staticIp":"20.241.163.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"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,"expirationDate":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, @@ -1117,11 +1245,11 @@ interactions: cache-control: - no-cache content-length: - - '1528' + - '1527' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:37 GMT + - Thu, 27 Jul 2023 15:37:32 GMT expires: - '-1' pragma: @@ -1250,21 +1378,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:37 GMT + - Thu, 27 Jul 2023 15:37:33 GMT expires: - '-1' pragma: @@ -1299,7 +1433,7 @@ interactions: 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":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:21.3596413","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:21.3596413"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"proudwater-2d202a11.eastus.azurecontainerapps.io","staticIp":"20.246.191.149","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"ae37666f-6aef-49fa-84eb-45ad88985ebe","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.7"},"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,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:12.5955269","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:12.5955269"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whiterock-738d6f6f.eastus.azurecontainerapps.io","staticIp":"20.241.163.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"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,"expirationDate":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, @@ -1307,11 +1441,11 @@ interactions: cache-control: - no-cache content-length: - - '1528' + - '1527' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:37 GMT + - Thu, 27 Jul 2023 15:37:33 GMT expires: - '-1' pragma: @@ -1440,21 +1574,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:38 GMT + - Thu, 27 Jul 2023 15:37:34 GMT expires: - '-1' pragma: @@ -1489,7 +1629,7 @@ interactions: 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":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:21.3596413","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:21.3596413"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"proudwater-2d202a11.eastus.azurecontainerapps.io","staticIp":"20.246.191.149","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"ae37666f-6aef-49fa-84eb-45ad88985ebe","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.7"},"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,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:12.5955269","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:12.5955269"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whiterock-738d6f6f.eastus.azurecontainerapps.io","staticIp":"20.241.163.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"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,"expirationDate":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, @@ -1497,11 +1637,11 @@ interactions: cache-control: - no-cache content-length: - - '1528' + - '1527' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:38 GMT + - Thu, 27 Jul 2023 15:37:34 GMT expires: - '-1' pragma: @@ -1631,21 +1771,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:39 GMT + - Thu, 27 Jul 2023 15:37:34 GMT expires: - '-1' pragma: @@ -1681,7 +1827,7 @@ interactions: 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":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:21.3596413","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:21.3596413"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"proudwater-2d202a11.eastus.azurecontainerapps.io","staticIp":"20.246.191.149","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"ae37666f-6aef-49fa-84eb-45ad88985ebe","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.7"},"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,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:12.5955269","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:12.5955269"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"whiterock-738d6f6f.eastus.azurecontainerapps.io","staticIp":"20.241.163.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"fb0a71c8-9298-4ae1-a28c-59f7237502b4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"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,"expirationDate":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, @@ -1689,11 +1835,11 @@ interactions: cache-control: - no-cache content-length: - - '1528' + - '1527' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:39 GMT + - Thu, 27 Jul 2023 15:37:36 GMT expires: - '-1' pragma: @@ -1823,21 +1969,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:40 GMT + - Thu, 27 Jul 2023 15:37:36 GMT expires: - '-1' pragma: @@ -1885,13 +2037,13 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995Z"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:37.0577385Z","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:37.0577385Z"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview azure-asyncoperation: - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/East - US/containerappsjobOperationStatuses/16701a2a-befe-4bab-86c4-094443d7e8d6?api-version=2023-04-01-preview&azureAsyncOperation=true + US/containerappsjobOperationStatuses/33ef1d58-d8bf-4f84-9b83-24a44a7cdc8c?api-version=2023-04-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: @@ -1899,7 +2051,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:42 GMT + - Thu, 27 Jul 2023 15:37:37 GMT expires: - '-1' pragma: @@ -1941,7 +2093,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:37.0577385","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:37.0577385"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -1952,7 +2104,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:43 GMT + - Thu, 27 Jul 2023 15:37:38 GMT expires: - '-1' pragma: @@ -1994,7 +2146,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:37.0577385","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:37.0577385"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2005,7 +2157,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:46 GMT + - Thu, 27 Jul 2023 15:37:40 GMT expires: - '-1' pragma: @@ -2047,60 +2199,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995"},"properties":{"provisioningState":"InProgress","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1331' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Jun 2023 17:34: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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp job create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --environment --replica-timeout --replica-retry-limit - --trigger-type --replica-completion-count --parallelism --image --cpu --memory - User-Agent: - - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) - AZURECLI/2.49.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:37.0577385","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:37.0577385"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2111,7 +2210,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:52 GMT + - Thu, 27 Jul 2023 15:37:43 GMT expires: - '-1' pragma: @@ -2240,21 +2339,27 @@ interactions: US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + 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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","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-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '12338' + - '12831' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:53 GMT + - Thu, 27 Jul 2023 15:37:43 GMT expires: - '-1' pragma: @@ -2289,7 +2394,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003","name":"job2000003","type":"Microsoft.App/jobs","location":"East - US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-06-29T17:34:41.7285995","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-29T17:34:41.7285995"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"anfranci@microsoft.com","createdByType":"User","createdAt":"2023-07-27T15:37:37.0577385","lastModifiedBy":"anfranci@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T15:37:37.0577385"},"properties":{"provisioningState":"Succeeded","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002","workloadProfileName":null,"configuration":{"secrets":null,"triggerType":"Manual","replicaTimeout":200,"replicaRetryLimit":1,"manualTriggerConfig":{"replicaCompletionCount":1,"parallelism":1},"scheduleTriggerConfig":null,"eventTriggerConfig":null,"registries":null,"dapr":null},"template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.25,"memory":"0.5Gi","ephemeralStorage":"1Gi"}}],"initContainers":null,"volumes":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/job2000003/eventstream"},"identity":{"type":"None"}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2300,7 +2405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:54 GMT + - Thu, 27 Jul 2023 15:37:44 GMT expires: - '-1' pragma: @@ -2342,7 +2447,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/start?api-version=2023-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-tq5so75","name":"job2000003-tq5so75"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-4rmnp6w","name":"job2000003-4rmnp6w"}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2353,7 +2458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:56 GMT + - Thu, 27 Jul 2023 15:37:45 GMT expires: - '-1' pragma: @@ -2395,18 +2500,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions?api-version=2023-04-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-tq5so75","name":"job2000003-tq5so75","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-06-29T17:34:56+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":null}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-4rmnp6w","name":"job2000003-4rmnp6w","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-07-27T15:37:46+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":[]}}}]}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview cache-control: - no-cache content-length: - - '481' + - '479' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:57 GMT + - Thu, 27 Jul 2023 15:37:47 GMT expires: - '-1' pragma: @@ -2443,21 +2548,21 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-tq5so75?api-version=2023-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-4rmnp6w?api-version=2023-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-tq5so75","name":"job2000003-tq5so75","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-06-29T17:34:56+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":null}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-4rmnp6w","name":"job2000003-4rmnp6w","type":"Microsoft.App/jobs/executions","properties":{"status":"Running","startTime":"2023-07-27T15:37:46+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":[]}}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview cache-control: - no-cache content-length: - - '469' + - '467' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:58 GMT + - Thu, 27 Jul 2023 15:37:48 GMT expires: - '-1' pragma: @@ -2499,7 +2604,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/start?api-version=2023-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-fgs0qro","name":"job2000003-fgs0qro"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-cbfrisd","name":"job2000003-cbfrisd"}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2510,7 +2615,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:34:59 GMT + - Thu, 27 Jul 2023 15:37:48 GMT expires: - '-1' pragma: @@ -2553,10 +2658,10 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/stop/job2000003-fgs0qro?api-version=2023-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/stop/job2000003-cbfrisd?api-version=2023-04-01-preview response: body: - string: '"Job Execution: job2000003-fgs0qro, stopped successfully."' + string: '"Job Execution: job2000003-cbfrisd, stopped successfully."' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview @@ -2567,7 +2672,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:35:00 GMT + - Thu, 27 Jul 2023 15:37:49 GMT expires: - '-1' pragma: @@ -2606,21 +2711,21 @@ interactions: - python/3.10.6 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) AZURECLI/2.49.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-fgs0qro?api-version=2023-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-cbfrisd?api-version=2023-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-fgs0qro","name":"job2000003-fgs0qro","type":"Microsoft.App/jobs/executions","properties":{"status":"Stopped","startTime":"2023-06-29T17:34:59+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":null}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/jobs/job2000003/executions/job2000003-cbfrisd","name":"job2000003-cbfrisd","type":"Microsoft.App/jobs/executions","properties":{"status":"Stopped","startTime":"2023-07-27T15:37:48+00:00","template":{"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"job2000003","resources":{"cpu":0.250,"memory":"0.5Gi"}}],"initContainers":[]}}}' headers: api-supported-versions: - 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview cache-control: - no-cache content-length: - - '469' + - '467' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Jun 2023 17:35:00 GMT + - Thu, 27 Jul 2023 15:37:49 GMT expires: - '-1' pragma: diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_executions.py b/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_executions.py index b42e696bce9..e23239e82ea 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_executions.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerappjob_executions.py @@ -8,6 +8,7 @@ from azure.cli.testsdk.scenario_tests import AllowLargeResponse from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, JMESPathCheck, live_only, StorageAccountPreparer) +from azext_containerapp.tests.latest.common import (write_test_file, clean_up_test_file) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) @@ -75,4 +76,95 @@ def test_containerapp_job_executionstest_e2e(self, resource_group): # get stopped execution for the job and check status singleExecution = self.cmd("az containerapp job execution show --resource-group {} --name {} --job-execution-name {}".format(resource_group, job, execution['name'])).get_output_in_json() self.assertEqual(job in singleExecution['name'], True) - self.assertEqual(singleExecution['properties']['status'], "Stopped") \ No newline at end of file + self.assertEqual(singleExecution['properties']['status'], "Stopped") + + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location="northcentralus") + def test_containerapp_job_custom_executionstest_e2e(self, resource_group): + import requests + + TEST_LOCATION = "northcentralusstage" + self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) + + env = self.create_random_name(prefix='env', length=24) + job = self.create_random_name(prefix='job3', 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) + ]) + + # create a Container App Job resource + self.cmd("az containerapp job create --resource-group {} --name {} --environment {} --replica-timeout 200 --replica-retry-limit 1 --trigger-type manual --replica-completion-count 1 --parallelism 1 --image mcr.microsoft.com/k8se/quickstart:latest --cpu '0.25' --memory '0.5Gi'".format(resource_group, job, env)) + + # wait for 60s for the job to be provisioned + jobProvisioning = True + timeout = time.time() + 60*1 # 1 minutes from now + while(jobProvisioning): + jobProvisioning = self.cmd("az containerapp job show --resource-group {} --name {}".format(resource_group, job)).get_output_in_json()['properties']['provisioningState'] != "Succeeded" + if(time.time() > timeout): + break + + # start an execution with custom container information + customContainerImage = "mcr.microsoft.com/k8se/quickstart:latest" + customContainerName = "job3-custom-exec" + execution = self.cmd("az containerapp job start --resource-group {} --name {} --image {} --container-name {} --cpu '0.5' --memory '1Gi'".format(resource_group, job, customContainerImage, customContainerName)).get_output_in_json() + if "id" in execution: + # check if the job execution id is in the response + self.assertEqual(job in execution['id'], True) + if "name" in execution: + # check if the job execution name is in the response + self.assertEqual(job in execution['name'], True) + + # get the execution and check if the custom container information is present + self.cmd("az containerapp job execution show --resource-group {} --name {} --job-execution-name {}".format(resource_group, job, execution['name']), checks=[ + JMESPathCheck('properties.template.containers[0].name', customContainerName), + JMESPathCheck('properties.template.containers[0].image', customContainerImage), + JMESPathCheck('properties.template.containers[0].resources.cpu', '0.5'), + JMESPathCheck('properties.template.containers[0].resources.memory', '1Gi') + ]) + + # yaml file to start a job execution + containerappjobexecution_yaml_text = f""" + containers: + - env: + - name: MY_ENV_VAR + value: hello + image: mcr.microsoft.com/k8se/quickstart-jobs:latest + name: test-yaml-execution + resources: + cpu: 0.5 + memory: 1Gi + initContainers: + - command: + - /bin/sh + - -c + - sleep 10 + image: k8seteste2e.azurecr.io/e2e-apps/kuar:green + name: simple-sleep-container + resources: + cpu: "0.25" + memory: 0.5Gi + """ + containerappjob_file_name = f"{self._testMethodName}_containerappjob.yml" + write_test_file(containerappjob_file_name, containerappjobexecution_yaml_text) + + # start job execution with yaml file + execution = self.cmd("az containerapp job start --resource-group {} --name {} --yaml {}".format(resource_group, job, containerappjob_file_name)).get_output_in_json() + self.assertEqual(job in execution['id'], True) + self.assertEqual(job in execution['name'], True) + + # get the execution and check if the custom container information is present + self.cmd("az containerapp job execution show --resource-group {} --name {} --job-execution-name {}".format(resource_group, job, execution['name']), checks=[ + JMESPathCheck('properties.template.containers[0].name', "test-yaml-execution"), + 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'), + JMESPathCheck('properties.template.initContainers[0].name', "simple-sleep-container"), + JMESPathCheck('properties.template.initContainers[0].image', "k8seteste2e.azurecr.io/e2e-apps/kuar:green"), + JMESPathCheck('properties.template.initContainers[0].resources.cpu', '0.25'), + JMESPathCheck('properties.template.initContainers[0].resources.memory', '0.5Gi') + ]) + clean_up_test_file(containerappjob_file_name) \ No newline at end of file