diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index c910daa6afc..1c0ea0cbb59 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -10,6 +10,8 @@ Upcoming * 'az containerapp service': add support for creation and deletion of kafka * 'az containerapp create': --registry-server support registry with custom port * Add regex to fix validation for containerapp name +* Add 'az containerapp ingress cors' for CORS support +* 'az container app env create/update': support --enable-mtls parameter 0.3.33 ++++++ diff --git a/src/containerapp/azext_containerapp/_help.py b/src/containerapp/azext_containerapp/_help.py index 9acf362cac9..2b2253e6ba2 100644 --- a/src/containerapp/azext_containerapp/_help.py +++ b/src/containerapp/azext_containerapp/_help.py @@ -1115,6 +1115,50 @@ az containerapp ingress sticky-sessions show -n MyContainerapp -g MyResourceGroup """ +helps['containerapp ingress cors'] = """ + type: group + short-summary: Commands to manage CORS policy for a container app. +""" + +helps['containerapp ingress cors enable'] = """ + type: command + short-summary: Enable CORS policy for a container app. + examples: + - name: Set allowed origins and allowed methods for a container app. + text: | + az containerapp ingress cors enable -n MyContainerapp -g MyResourceGroup --allowed-origins http://www.contoso.com https://www.contoso.com --allowed-methods GET POST + - name: Set allowed origins, allowed methods and allowed headers for a container app. + text: | + az containerapp ingress cors enable -n MyContainerapp -g MyResourceGroup --allowed-origins * --allowed-methods * --allowed-headers header1 header2 +""" + +helps['containerapp ingress cors disable'] = """ + type: command + short-summary: Disable CORS policy for a container app. + examples: + - name: Disable CORS policy for a container app. + text: | + az containerapp ingress cors disable -n MyContainerapp -g MyResourceGroup +""" + +helps['containerapp ingress cors update'] = """ + type: command + short-summary: Update CORS policy for a container app. + examples: + - name: Update allowed origins and allowed methods for a container app while keeping other cors settings. + text: | + az containerapp ingress cors update -n MyContainerapp -g MyResourceGroup --allowed-origins http://www.contoso.com https://www.contoso.com --allowed-methods GET POST +""" + +helps['containerapp ingress cors show'] = """ + type: command + short-summary: Show CORS policy for a container app. + examples: + - name: Show CORS policy for a container app. + text: | + az containerapp ingress cors show -n MyContainerapp -g MyResourceGroup +""" + # Registry Commands helps['containerapp registry'] = """ type: group diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index 53648b8134f..2cbe101d496 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -12,7 +12,7 @@ from ._validators import (validate_memory, validate_cpu, validate_managed_env_name_or_id, validate_registry_server, validate_registry_user, validate_registry_pass, validate_target_port, validate_ingress, - validate_storage_name_or_id) + validate_storage_name_or_id, validate_cors_max_age) from ._constants import UNAUTHENTICATED_CLIENT_ACTION, FORWARD_PROXY_CONVENTION, MAXIMUM_CONTAINER_APP_NAME_LENGTH, LOG_TYPE_CONSOLE, LOG_TYPE_SYSTEM @@ -178,6 +178,9 @@ def load_arguments(self, _): c.argument('certificate_file', options_list=['--custom-domain-certificate-file', '--certificate-file'], help='The filepath of the certificate file (.pfx or .pem) for the environment\'s custom domain. To manage certificates for container apps, use `az containerapp env certificate`.') c.argument('certificate_password', options_list=['--custom-domain-certificate-password', '--certificate-password'], help='The certificate file password for the environment\'s custom domain.') + with self.argument_context('containerapp env', arg_group='Peer Authentication') as c: + c.argument('mtls_enabled', arg_type=get_three_state_flag(), options_list=['--enable-mtls'], help='Boolean indicating if mTLS peer authentication is enabled for the environment.') + with self.argument_context('containerapp service') as c: c.argument('service_name', options_list=['--name', '-n'], help="The service name.") c.argument('environment_name', options_list=['--environment'], help="The environment name.") @@ -299,6 +302,14 @@ def load_arguments(self, _): with self.argument_context('containerapp ingress sticky-sessions') as c: c.argument('affinity', arg_type=get_enum_type(['sticky', 'none']), help='Whether the affinity for the container app is Sticky or None.') + with self.argument_context('containerapp ingress cors') as c: + c.argument('allowed_origins', nargs='*', options_list=['--allowed-origins', '-r'], help="A list of allowed origin(s) for the container app. Values are space-separated. Empty string to clear existing values.") + c.argument('allowed_methods', nargs='*', options_list=['--allowed-methods', '-m'], help="A list of allowed method(s) for the container app. Values are space-separated. Empty string to clear existing values.") + c.argument('allowed_headers', nargs='*', options_list=['--allowed-headers', '-a'], help="A list of allowed header(s) for the container app. Values are space-separated. Empty string to clear existing values.") + c.argument('expose_headers', nargs='*', options_list=['--expose-headers', '-e'], help="A list of expose header(s) for the container app. Values are space-separated. Empty string to clear existing values.") + c.argument('allow_credentials', options_list=['--allow-credentials'], arg_type=get_three_state_flag(), help='Whether the credential is allowed for the container app.') + c.argument('max_age', nargs='?', const='', validator=validate_cors_max_age, help="The maximum age of the allowed origin in seconds. Only postive integer or empty string are allowed. Empty string resets max_age to null.") + with self.argument_context('containerapp secret') as c: c.argument('secrets', nargs='+', options_list=['--secrets', '-s'], help="A list of secret(s) for the container app. Space-separated values in 'key=value' or 'key=keyvaultref:keyvaulturl,identityref:identity' format (where 'key' cannot be longer than 20 characters).") c.argument('secret_name', help="The name of the secret to show.") diff --git a/src/containerapp/azext_containerapp/_validators.py b/src/containerapp/azext_containerapp/_validators.py index a5c92c527e5..03045421d64 100644 --- a/src/containerapp/azext_containerapp/_validators.py +++ b/src/containerapp/azext_containerapp/_validators.py @@ -201,3 +201,16 @@ def validate_ssh(cmd, namespace): _validate_revision_exists(cmd, namespace) _validate_replica_exists(cmd, namespace) _validate_container_exists(cmd, namespace) + + +def validate_cors_max_age(cmd, namespace): + if namespace.max_age: + try: + if namespace.max_age == "": + return + + max_age = int(namespace.max_age) + if max_age < 0: + raise InvalidArgumentValueError("max-age must be a positive integer.") + except ValueError: + raise InvalidArgumentValueError("max-age must be an integer.") diff --git a/src/containerapp/azext_containerapp/commands.py b/src/containerapp/azext_containerapp/commands.py index ec376cfdcc0..4532eecfc8d 100644 --- a/src/containerapp/azext_containerapp/commands.py +++ b/src/containerapp/azext_containerapp/commands.py @@ -182,6 +182,12 @@ def load_command_table(self, _): g.custom_command('remove', 'remove_ip_restriction') g.custom_show_command('list', 'show_ip_restrictions') + with self.command_group('containerapp ingress cors') as g: + g.custom_command('enable', 'enable_cors_policy', exception_handler=ex_handler_factory()) + g.custom_command('disable', 'disable_cors_policy', exception_handler=ex_handler_factory()) + g.custom_command('update', 'update_cors_policy', exception_handler=ex_handler_factory()) + g.custom_show_command('show', 'show_cors_policy') + with self.command_group('containerapp registry') as g: g.custom_command('set', 'set_registry', exception_handler=ex_handler_factory()) g.custom_show_command('show', 'show_registry') diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 9b7ea3c9cc0..46760f4b3a7 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -1314,6 +1314,7 @@ def create_managed_environment(cmd, certificate_file=None, certificate_password=None, enable_workload_profiles=False, + mtls_enabled=None, no_wait=False): if zone_redundant: if not infrastructure_subnet_resource_id: @@ -1390,6 +1391,8 @@ def create_managed_environment(cmd, raise ValidationError('Infrastructure subnet resource ID needs to be supplied for internal only environments.') managed_env_def["properties"]["vnetConfiguration"]["internal"] = True + if mtls_enabled is not None: + safe_set(managed_env_def, "properties", "peerAuthentication", "mtls", "enabled", value=mtls_enabled) try: r = ManagedEnvironmentClient.create( cmd=cmd, resource_group_name=resource_group_name, name=name, managed_environment_envelope=managed_env_def, no_wait=no_wait) @@ -1424,6 +1427,7 @@ def update_managed_environment(cmd, workload_profile_name=None, min_nodes=None, max_nodes=None, + mtls_enabled=None, no_wait=False): if logs_destination == "log-analytics" or logs_customer_id or logs_key: if logs_destination != "log-analytics": @@ -1494,6 +1498,9 @@ def update_managed_environment(cmd, safe_set(env_def, "properties", "workloadProfiles", value=workload_profiles) + if mtls_enabled is not None: + safe_set(env_def, "properties", "peerAuthentication", "mtls", "enabled", value=mtls_enabled) + try: r = ManagedEnvironmentClient.update( cmd=cmd, resource_group_name=resource_group_name, name=name, managed_environment_envelope=env_def, no_wait=no_wait) @@ -3521,6 +3528,120 @@ def show_ingress_sticky_session(cmd, name, resource_group_name): raise ValidationError("Ingress must be enabled to enable sticky sessions. Try running `az containerapp ingress -h` for more info.") from e +def enable_cors_policy(cmd, name, resource_group_name, allowed_origins, allowed_methods=None, allowed_headers=None, expose_headers=None, allow_credentials=None, max_age=None, no_wait=False): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + + if not allowed_origins: + raise ValidationError("Allowed origins must be specified.") + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + containerapp_patch = {} + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedOrigins", value=allowed_origins) + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedMethods", value=allowed_methods) + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedHeaders", value=allowed_headers) + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "exposeHeaders", value=expose_headers) + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowCredentials", value=allow_credentials) + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "maxAge", value=max_age) + try: + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch, no_wait=no_wait) + return safe_get(r, "properties", "configuration", "ingress", "corsPolicy", default={}) + except Exception as e: + handle_raw_exception(e) + + +def disable_cors_policy(cmd, name, resource_group_name, no_wait=False): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + containerapp_patch = {} + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", value=None) + try: + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch, no_wait=no_wait) + return safe_get(r, "properties", "configuration", "ingress", default={}) + except Exception as e: + handle_raw_exception(e) + + +def update_cors_policy(cmd, name, resource_group_name, allowed_origins=None, allowed_methods=None, allowed_headers=None, expose_headers=None, allow_credentials=None, max_age=None, no_wait=False): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + if allowed_origins is not None and len(allowed_origins) == 0: + raise RequiredArgumentMissingError("allowed-origins must be specified if provided.") + + reset_max_age = False + if max_age == "": + reset_max_age = True + + containerapp_patch = {} + if allowed_origins is not None: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedOrigins", value=allowed_origins) + if allowed_methods is not None: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedMethods", value=allowed_methods) + if allowed_headers is not None: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowedHeaders", value=allowed_headers) + if expose_headers is not None: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "exposeHeaders", value=expose_headers) + if allow_credentials is not None: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "allowCredentials", value=allow_credentials) + if max_age is not None: + if reset_max_age: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "maxAge", value=None) + else: + safe_set(containerapp_patch, "properties", "configuration", "ingress", "corsPolicy", "maxAge", value=max_age) + + try: + r = ContainerAppClient.update( + cmd=cmd, resource_group_name=resource_group_name, name=name, container_app_envelope=containerapp_patch, no_wait=no_wait) + return safe_get(r, "properties", "configuration", "ingress", "corsPolicy", default={}) + except Exception as e: + handle_raw_exception(e) + + +def show_cors_policy(cmd, name, resource_group_name): + _validate_subscription_registered(cmd, CONTAINER_APPS_RP) + + containerapp_def = None + try: + containerapp_def = ContainerAppClient.show(cmd=cmd, resource_group_name=resource_group_name, name=name) + except: + pass + + if not containerapp_def: + raise ResourceNotFoundError(f"The containerapp '{name}' does not exist in group '{resource_group_name}'") + + try: + return safe_get(containerapp_def, "properties", "configuration", "ingress", "corsPolicy", default={}) + except Exception as e: + raise ValidationError("CORS must be enabled to enable CORS policy. Try running `az containerapp ingress cors enable -h` for more info.") from e + + def show_registry(cmd, name, resource_group_name, server): _validate_subscription_registered(cmd, CONTAINER_APPS_RP) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_cors_policy.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_cors_policy.yaml new file mode 100644 index 00000000000..8e4991e1ce4 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_cors_policy.yaml @@ -0,0 +1,3238 @@ +interactions: +- request: + body: '{"location": "eastus", "properties": {"retentionInDays": 30, "sku": {"name": + "PerGB2018"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + 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":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-20T04:37:21.987169Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-21T04:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-20T04:37:21.987169Z","modifiedDate":"2023-06-20T04:37:21.987169Z"},"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: + - '848' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:23 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + 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":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-20T04:37:21.987169Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-21T04:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-20T04:37:21.987169Z","modifiedDate":"2023-06-20T04:37:21.987169Z"},"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: + - '849' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + 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":"MK6AlX2xfdPJFMx7tJXFjyJgWowubh58B8ao/JeUR6DNI0+LvbT/dXZSyabT+80qtDCNGdkbs8Y9tQBV67tqgg==","secondarySharedKey":"9ZATu9wdR8ztNYuwP28pe6/6iH9idl06x+j1teV9hDZdAO0Zowwr8tQ5zwGZhjAAm2iGqX9Ridz7kPT1QEVHWg=="}' + 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: + - Tue, 20 Jun 2023 04:37:26 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04: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: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", + "logAnalyticsConfiguration": {"customerId": "58ccb710-d0d1-427a-993e-ea7271c8a6cf", + "sharedKey": "MK6AlX2xfdPJFMx7tJXFjyJgWowubh58B8ao/JeUR6DNI0+LvbT/dXZSyabT+80qtDCNGdkbs8Y9tQBV67tqgg=="}}, + "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": + false}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '446' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:37:34.8752257Z","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:37:34.8752257Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"blackglacier-0c028288.eastus.azurecontainerapps.io","staticIp":"20.253.52.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","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/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT15M + x-ms-ratelimit-remaining-subscription-resource-requests: + - '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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","name":"9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","status":"InProgress","startTime":"2023-06-20T04:37:36.2127931"}' + 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: + - Tue, 20 Jun 2023 04:37:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","name":"9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","status":"InProgress","startTime":"2023-06-20T04:37:36.2127931"}' + 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: + - Tue, 20 Jun 2023 04:37:42 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","name":"9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","status":"InProgress","startTime":"2023-06-20T04:37:36.2127931"}' + 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: + - Tue, 20 Jun 2023 04:37:44 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","name":"9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","status":"InProgress","startTime":"2023-06-20T04:37:36.2127931"}' + 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: + - Tue, 20 Jun 2023 04:37: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","name":"9f3d9a7b-9cfa-4e94-a1d2-156f3ea52559","status":"Succeeded","startTime":"2023-06-20T04:37:36.2127931"}' + 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: + - Tue, 20 Jun 2023 04:37:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:37:34.8752257","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:37:34.8752257"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"blackglacier-0c028288.eastus.azurecontainerapps.io","staticIp":"20.253.52.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","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/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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 + cache-control: + - no-cache + content-length: + - '1566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:55 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:37:34.8752257","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:37:34.8752257"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"blackglacier-0c028288.eastus.azurecontainerapps.io","staticIp":"20.253.52.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","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/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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 + cache-control: + - no-cache + content-length: + - '1566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:37:59 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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:37:34.8752257","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:37:34.8752257"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"blackglacier-0c028288.eastus.azurecontainerapps.io","staticIp":"20.253.52.169","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"58ccb710-d0d1-427a-993e-ea7271c8a6cf","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/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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 + cache-control: + - no-cache + content-length: + - '1566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:02 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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "East US", "identity": {"type": "None", "userAssignedIdentities": + null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", + "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": + {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "exposedPort": + null, "traffic": null, "customDomains": null, "ipSecurityRestrictions": null, + "stickySessions": null}, "dapr": null, "registries": null, "service": null}, + "template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", + "name": "containerapp000003", "command": null, "args": null, "env": null, "resources": + null, "volumeMounts": null}], "initContainers": null, "scale": null, "volumes": + null, "serviceBinds": null}, "workloadProfileName": null}, "tags": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + Content-Length: + - '938' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917Z","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:09.8893917Z"},"properties":{"provisioningState":"InProgress","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"","latestReadyRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":null,"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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/containerappOperationStatuses/08cd8585-7d0d-4770-98f4-0347d1958921?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '2176' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:12 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: + - '699' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/08cd8585-7d0d-4770-98f4-0347d1958921?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/08cd8585-7d0d-4770-98f4-0347d1958921","name":"08cd8585-7d0d-4770-98f4-0347d1958921","status":"InProgress","startTime":"2023-06-20T04:38:11.2618274"}' + 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: + - '278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:14 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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/08cd8585-7d0d-4770-98f4-0347d1958921?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/08cd8585-7d0d-4770-98f4-0347d1958921","name":"08cd8585-7d0d-4770-98f4-0347d1958921","status":"Succeeded","startTime":"2023-06-20T04:38:11.2618274"}' + 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: + - '277' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --ingress --target-port + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:09.8893917"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":null,"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2305' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:22 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 ingress cors enable + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:23 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 ingress cors enable + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:09.8893917"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":null,"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2305' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"ingress": {"corsPolicy": {"allowedOrigins": + ["http://www.contoso.com", "https://www.contoso.com"], "allowedMethods": ["GET", + "POST"], "allowedHeaders": ["header1", "header2"], "exposeHeaders": ["header3", + "header4"], "allowCredentials": true, "maxAge": "100"}}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors enable + Connection: + - keep-alive + Content-Length: + - '298' + Content-Type: + - application/json + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:38:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '699' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors enable + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:38:33 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors enable + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:38:40 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors enable + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/7a0a6af6-c120-49a0-a8ee-7d8ca5d206ed?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:29.88244"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":{"allowedOrigins":["http://www.contoso.com","https://www.contoso.com"],"allowedMethods":["GET","POST"],"allowedHeaders":["header1","header2"],"exposeHeaders":["header3","header4"],"maxAge":100,"allowCredentials":true},"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2516' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors update + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:48 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 ingress cors update + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:29.88244"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":{"allowedOrigins":["http://www.contoso.com","https://www.contoso.com"],"allowedMethods":["GET","POST"],"allowedHeaders":["header1","header2"],"exposeHeaders":["header3","header4"],"maxAge":100,"allowCredentials":true},"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2516' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:38:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"ingress": {"corsPolicy": {"allowedOrigins": + ["*"], "allowedMethods": ["GET"], "allowedHeaders": ["header1"], "exposeHeaders": + [], "allowCredentials": false, "maxAge": "0"}}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors update + Connection: + - keep-alive + Content-Length: + - '210' + Content-Type: + - application/json + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:38:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '699' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors update + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:38:58 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors update + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:39:05 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors update + Connection: + - keep-alive + ParameterSetName: + - -g -n --allowed-origins --allowed-methods --allowed-headers --expose-headers + --allow-credentials --max-age + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/73b0ef23-7e7a-498e-85b4-93901ffdc2f5?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:55.2180686"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":{"allowedOrigins":["*"],"allowedMethods":["GET"],"allowedHeaders":["header1"],"exposeHeaders":null,"maxAge":0,"allowCredentials":false},"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39:11 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 ingress cors show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39:13 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 ingress cors show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:55.2180686"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":{"allowedOrigins":["*"],"allowedMethods":["GET"],"allowedHeaders":["header1"],"exposeHeaders":null,"maxAge":0,"allowCredentials":false},"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39:18 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 ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:38:55.2180686"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":{"allowedOrigins":["*"],"allowedMethods":["GET"],"allowedHeaders":["header1"],"exposeHeaders":null,"maxAge":0,"allowCredentials":false},"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"configuration": {"ingress": {"corsPolicy": null}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + Content-Length: + - '68' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:39:28 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '699' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:39:29 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:39:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 04:39:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp ingress cors disable + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/80aad034-d66d-448b-8ae3-47e5ae4dfbca?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T04:38:09.8893917","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T04:39:27.0138845"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.88.178.50"],"latestRevisionName":"containerapp000003--x0e7t2z","latestReadyRevisionName":"containerapp000003--x0e7t2z","latestRevisionFqdn":"containerapp000003--x0e7t2z.blackglacier-0c028288.eastus.azurecontainerapps.io","customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp000003.blackglacier-0c028288.eastus.azurecontainerapps.io","external":true,"targetPort":80,"exposedPort":0,"transport":"Auto","traffic":[{"weight":100,"latestRevision":true}],"customDomains":null,"allowInsecure":false,"ipSecurityRestrictions":null,"corsPolicy":null,"clientCertificateMode":null,"stickySessions":null},"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' + 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: + - '2305' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 04:39: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 +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_mtls.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_mtls.yaml new file mode 100644 index 00000000000..2ba43994e38 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_mtls.yaml @@ -0,0 +1,3102 @@ +interactions: +- request: + body: '{"location": "eastus", "properties": {"retentionInDays": 30, "sku": {"name": + "PerGB2018"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-20T08:25:12.5766681Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-21T04:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-20T08:25:12.5766681Z","modifiedDate":"2023-06-20T08:25:12.5766681Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003","name":"containerapp-env000003","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: + - Tue, 20 Jun 2023 08:25:13 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003?api-version=2021-12-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-06-20T08:25:12.5766681Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-06-21T04:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-06-20T08:25:12.5766681Z","modifiedDate":"2023-06-20T08:25:12.5766681Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003","name":"containerapp-env000003","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '852' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:13 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace get-shared-keys + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000003/sharedKeys?api-version=2020-08-01 + response: + body: + string: '{"primarySharedKey":"yOxNiGZLaXDA3w4Ja3JTa58Uj9OD5sj1GEP2d61v5NbAeeTv+J4qZXQXwAhX2MpIdyEtNNdZTzz6p1CbWxyVBg==","secondarySharedKey":"B/QNVG7EyCh2iYjGVpaOXpsMZBI6GsVjKcDvoBP0Njz/9kHz0mbZWn3NQAkn2JPLqkOO+NPtynH9qRqs011rvw=="}' + 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: + - Tue, 20 Jun 2023 08:25:16 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 --enable-mtls + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:17 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 --enable-mtls + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:18 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 --enable-mtls + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:18 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 --enable-mtls + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", + "logAnalyticsConfiguration": {"customerId": "2df4727c-327d-4577-b6a8-a86089153efc", + "sharedKey": "yOxNiGZLaXDA3w4Ja3JTa58Uj9OD5sj1GEP2d61v5NbAeeTv+J4qZXQXwAhX2MpIdyEtNNdZTzz6p1CbWxyVBg=="}}, + "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": + false, "peerAuthentication": {"mtls": {"enabled": true}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + Content-Length: + - '497' + Content-Type: + - application/json + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977Z","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:25:26.0977977Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":true}}}}' + 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/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:25:28 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25: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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25:45 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:25:56 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:00 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:04 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:07 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:11 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:19 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:22 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26: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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26: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 env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:44 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"InProgress","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:48 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/0aeda58f-5b40-4450-bc41-164d080b9e4f","name":"0aeda58f-5b40-4450-bc41-164d080b9e4f","status":"Succeeded","startTime":"2023-06-20T08:25:27.5154545"}' + 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: + - Tue, 20 Jun 2023 08:26:51 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 --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:25:26.0977977"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":true}}}}' + 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: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:26:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:26:55 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:25:26.0977977"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":true}}}}' + 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: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:26:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:26:58 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.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:25:26.0977977"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":true}}}}' + 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: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:27:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:25:26.0977977"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":true}}}}' + 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: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:27:04 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: '{"location": "East US", "properties": {"peerAuthentication": {"mtls": {"enabled": + false}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:08 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:15 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:22 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:30 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:36 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:43 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:49 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '' + 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: + - '0' + date: + - Tue, 20 Jun 2023 08:27:57 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env update + Connection: + - keep-alive + ParameterSetName: + - -g -n --enable-mtls + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/2f0fb4ae-7a13-40ac-8766-c05991686e0d?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:27:06.9552418"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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 + cache-control: + - no-cache + content-length: + - '1577' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:28:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.4 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North + Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-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":"2022-11-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":"2022-11-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":"2022-11-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","Australia East","North + Central US","East US 2","West Europe","Central US","East US","North Europe","South + Central US","UK South","West US 3"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2022-11-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12338' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:28:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.10.4 (Windows-10-10.0.22621-SP0) AZURECLI/2.48.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-e2e-env000002","name":"containerapp-e2e-env000002","type":"Microsoft.App/managedEnvironments","location":"East + US","systemData":{"createdBy":"zhenqxu@microsoft.com","createdByType":"User","createdAt":"2023-06-20T08:25:26.0977977","lastModifiedBy":"zhenqxu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-20T08:27:06.9552418"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"gentlesmoke-1182f5f2.eastus.azurecontainerapps.io","staticIp":"4.156.186.119","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"2df4727c-327d-4577-b6a8-a86089153efc","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/containerapp-e2e-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"BBA4CA84C52A82EA73DCB23DE19F6B495EDA0CCF128E0C39BAE16941FA4DD1E4","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 + cache-control: + - no-cache + content-length: + - '1577' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Jun 2023 08:28:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py index b413fc38c50..886efb88b9b 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py @@ -149,7 +149,6 @@ def test_containerapp_identity_user(self, resource_group): JMESPathCheck('type', 'None'), ]) - class ContainerappIngressTests(ScenarioTest): @AllowLargeResponse(8192) @ResourceGroupPreparer(location="eastus2") @@ -556,6 +555,63 @@ def test_containerapp_ip_restrictions_deny(self, resource_group): JMESPathCheck('length(@)', 0), ]) + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location="northeurope") + def test_containerapp_cors_policy(self, resource_group): + self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) + + env_name = self.create_random_name(prefix='containerapp-env', length=24) + ca_name = self.create_random_name(prefix='containerapp', length=24) + + create_containerapp_env(self, env_name, resource_group) + + self.cmd('containerapp create -g {} -n {} --environment {} --ingress external --target-port 80'.format(resource_group, ca_name, env_name)) + + self.cmd('containerapp ingress cors enable -g {} -n {} --allowed-origins "http://www.contoso.com" "https://www.contoso.com" --allowed-methods "GET" "POST" --allowed-headers "header1" "header2" --expose-headers "header3" "header4" --allow-credentials true --max-age 100'.format(resource_group, ca_name), checks=[ + JMESPathCheck('length(allowedOrigins)', 2), + JMESPathCheck('allowedOrigins[0]', "http://www.contoso.com"), + JMESPathCheck('allowedOrigins[1]', "https://www.contoso.com"), + JMESPathCheck('length(allowedMethods)', 2), + JMESPathCheck('allowedMethods[0]', "GET"), + JMESPathCheck('allowedMethods[1]', "POST"), + JMESPathCheck('length(allowedHeaders)', 2), + JMESPathCheck('allowedHeaders[0]', "header1"), + JMESPathCheck('allowedHeaders[1]', "header2"), + JMESPathCheck('length(exposeHeaders)', 2), + JMESPathCheck('exposeHeaders[0]', "header3"), + JMESPathCheck('exposeHeaders[1]', "header4"), + JMESPathCheck('allowCredentials', True), + JMESPathCheck('maxAge', 100), + ]) + + self.cmd('containerapp ingress cors update -g {} -n {} --allowed-origins "*" --allowed-methods "GET" --allowed-headers "header1" --expose-headers --allow-credentials false --max-age 0'.format(resource_group, ca_name), checks=[ + JMESPathCheck('length(allowedOrigins)', 1), + JMESPathCheck('allowedOrigins[0]', "*"), + JMESPathCheck('length(allowedMethods)', 1), + JMESPathCheck('allowedMethods[0]', "GET"), + JMESPathCheck('length(allowedHeaders)', 1), + JMESPathCheck('allowedHeaders[0]', "header1"), + JMESPathCheck('exposeHeaders', None), + JMESPathCheck('allowCredentials', False), + JMESPathCheck('maxAge', 0), + ]) + + self.cmd('containerapp ingress cors show -g {} -n {}'.format(resource_group, ca_name), checks=[ + JMESPathCheck('length(allowedOrigins)', 1), + JMESPathCheck('allowedOrigins[0]', "*"), + JMESPathCheck('length(allowedMethods)', 1), + JMESPathCheck('allowedMethods[0]', "GET"), + JMESPathCheck('length(allowedHeaders)', 1), + JMESPathCheck('allowedHeaders[0]', "header1"), + JMESPathCheck('exposeHeaders', None), + JMESPathCheck('allowCredentials', False), + JMESPathCheck('maxAge', 0), + ]) + + self.cmd('containerapp ingress cors disable -g {} -n {}'.format(resource_group, ca_name), checks=[ + JMESPathCheck('corsPolicy', None), + ]) + class ContainerappDaprTests(ScenarioTest): @AllowLargeResponse(8192) diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py index f7a832829a7..f7061824bee 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py @@ -455,4 +455,40 @@ def test_containerapp_env_internal_only_e2e(self, resource_group): self.cmd(f'containerapp env show -n {env} -g {resource_group}', checks=[ JMESPathCheck('name', env), JMESPathCheck('properties.vnetConfiguration.internal', True), + ]) + + + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location="northeurope") + def test_containerapp_env_mtls(self, resource_group): + self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) + + env_name = self.create_random_name(prefix='containerapp-e2e-env', length=24) + logs_workspace_name = self.create_random_name(prefix='containerapp-env', length=24) + + logs_workspace_id = self.cmd('monitor log-analytics workspace create -g {} -n {} -l eastus'.format(resource_group, logs_workspace_name)).get_output_in_json()["customerId"] + logs_workspace_key = self.cmd('monitor log-analytics workspace get-shared-keys -g {} -n {}'.format(resource_group, logs_workspace_name)).get_output_in_json()["primarySharedKey"] + + self.cmd('containerapp env create -g {} -n {} --logs-workspace-id {} --logs-workspace-key {} --enable-mtls'.format(resource_group, env_name, logs_workspace_id, logs_workspace_key)) + + containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() + + while containerapp_env["properties"]["provisioningState"].lower() == "waiting": + time.sleep(5) + containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() + + self.cmd('containerapp env show -n {} -g {}'.format(env_name, resource_group), checks=[ + JMESPathCheck('name', env_name), + JMESPathCheck('properties.peerAuthentication.mtls.enabled', True), + ]) + + self.cmd('containerapp env update -g {} -n {} --enable-mtls false'.format(resource_group, env_name)) + + while containerapp_env["properties"]["provisioningState"].lower() == "waiting": + time.sleep(5) + containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() + + self.cmd('containerapp env show -n {} -g {}'.format(env_name, resource_group), checks=[ + JMESPathCheck('name', env_name), + JMESPathCheck('properties.peerAuthentication.mtls.enabled', False), ]) \ No newline at end of file