From fa9bd88bb2b434f867ecae40b6885d02363ee7ff Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Tue, 25 Jul 2023 17:06:49 +0800 Subject: [PATCH 1/4] refactor containerapp auth show/update --- .../containerapp_auth_decorator.py | 114 ++++++++++++++++++ src/containerapp/azext_containerapp/custom.py | 73 +++-------- 2 files changed, 133 insertions(+), 54 deletions(-) create mode 100644 src/containerapp/azext_containerapp/containerapp_auth_decorator.py diff --git a/src/containerapp/azext_containerapp/containerapp_auth_decorator.py b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py new file mode 100644 index 00000000000..83584ccae0d --- /dev/null +++ b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py @@ -0,0 +1,114 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +from typing import Any, Dict + +from azure.cli.core.commands import AzCliCommand + +from ._client_factory import handle_raw_exception +from .base_resource import BaseResource + + +class ContainerAppAuthDecorator(BaseResource): + def __init__(self, cmd: AzCliCommand, client: Any, raw_parameters: Dict, models: str): + super().__init__(cmd, client, raw_parameters, models) + self.existing_auth = {} + + def show(self): + auth_settings = {} + try: + auth_settings = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), + auth_config_name="current")["properties"] + except: + pass + return auth_settings + + def construct_payload(self): + from ._utils import set_field_in_auth_settings, update_http_settings_in_auth_settings + self.existing_auth = {} + try: + self.existing_auth = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), + auth_config_name="current")["properties"] + except: + self.existing_auth["platform"] = {} + self.existing_auth["platform"]["enabled"] = True + self.existing_auth["globalValidation"] = {} + self.existing_auth["login"] = {} + + self.existing_auth = set_field_in_auth_settings(self.existing_auth, self.get_argument_set_string()) + + if self.get_argument_enabled() is not None: + if "platform" not in self.existing_auth: + self.existing_auth["platform"] = {} + self.existing_auth["platform"]["enabled"] = self.get_argument_enabled() + + if self.get_argument_runtime_version() is not None: + if "platform" not in self.existing_auth: + self.existing_auth["platform"] = {} + self.existing_auth["platform"]["runtimeVersion"] = self.get_argument_runtime_version() + + if self.get_argument_config_file_path() is not None: + if "platform" not in self.existing_auth: + self.existing_auth["platform"] = {} + self.existing_auth["platform"]["configFilePath"] = self.get_argument_config_file_path() + + if self.get_argument_unauthenticated_client_action() is not None: + if "globalValidation" not in self.existing_auth: + self.existing_auth["globalValidation"] = {} + self.existing_auth["globalValidation"]["unauthenticatedClientAction"] = self.get_argument_unauthenticated_client_action() + + if self.get_argument_redirect_provider() is not None: + if "globalValidation" not in self.existing_auth: + self.existing_auth["globalValidation"] = {} + self.existing_auth["globalValidation"]["redirectToProvider"] = self.get_argument_redirect_provider() + + if self.get_argument_excluded_paths() is not None: + if "globalValidation" not in self.existing_auth: + self.existing_auth["globalValidation"] = {} + self.existing_auth["globalValidation"]["excludedPaths"] = self.get_argument_excluded_paths().split(",") + + self.existing_auth = update_http_settings_in_auth_settings(self.existing_auth, self.get_argument_require_https(), + self.get_argument_proxy_convention(), self.get_argument_proxy_custom_host_header(), + self.get_argument_proxy_custom_proto_header()) + + def create_or_update(self): + try: + return self.client.create_or_update(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), + container_app_name=self.get_argument_name(), auth_config_name="current", + auth_config_envelope=self.existing_auth) + except Exception as e: + handle_raw_exception(e) + + def get_argument_set_string(self): + return self.get_param("set_string") + + def get_argument_enabled(self): + return self.get_param("enabled") + + def get_argument_runtime_version(self): + return self.get_param("runtime_version") + + def get_argument_config_file_path(self): + return self.get_param("config_file_path") + + def get_argument_unauthenticated_client_action(self): + return self.get_param("unauthenticated_client_action") + + def get_argument_redirect_provider(self): + return self.get_param("redirect_provider") + + def get_argument_require_https(self): + return self.get_param("require_https") + + def get_argument_proxy_convention(self): + return self.get_param("proxy_convention") + + def get_argument_proxy_custom_host_header(self): + return self.get_param("proxy_custom_host_header") + + def get_argument_proxy_custom_proto_header(self): + return self.get_param("proxy_custom_proto_header") + + def get_argument_excluded_paths(self): + return self.get_param("excluded_paths") diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index d87f2ac8ea1..5d8a9e75b8d 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -34,6 +34,7 @@ from msrestazure.tools import parse_resource_id, is_valid_resource_id from msrest.exceptions import DeserializationError +from .containerapp_auth_decorator import ContainerAppAuthDecorator from .containerapp_decorator import ContainerAppCreateDecorator, BaseContainerAppDecorator from ._client_factory import handle_raw_exception, handle_non_404_exception from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient, StorageClient, AuthClient, WorkloadProfileClient, ContainerAppsJobClient @@ -5297,64 +5298,28 @@ def update_auth_config(cmd, resource_group_name, name, set_string=None, enabled= redirect_provider=None, require_https=None, proxy_convention=None, proxy_custom_host_header=None, proxy_custom_proto_header=None, excluded_paths=None): - from ._utils import set_field_in_auth_settings, update_http_settings_in_auth_settings - existing_auth = {} - try: - existing_auth = AuthClient.get(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, auth_config_name="current")["properties"] - except: - existing_auth["platform"] = {} - existing_auth["platform"]["enabled"] = True - existing_auth["globalValidation"] = {} - existing_auth["login"] = {} - - existing_auth = set_field_in_auth_settings(existing_auth, set_string) - - if enabled is not None: - if "platform" not in existing_auth: - existing_auth["platform"] = {} - existing_auth["platform"]["enabled"] = enabled - - if runtime_version is not None: - if "platform" not in existing_auth: - existing_auth["platform"] = {} - existing_auth["platform"]["runtimeVersion"] = runtime_version - - if config_file_path is not None: - if "platform" not in existing_auth: - existing_auth["platform"] = {} - existing_auth["platform"]["configFilePath"] = config_file_path - - if unauthenticated_client_action is not None: - if "globalValidation" not in existing_auth: - existing_auth["globalValidation"] = {} - existing_auth["globalValidation"]["unauthenticatedClientAction"] = unauthenticated_client_action - - if redirect_provider is not None: - if "globalValidation" not in existing_auth: - existing_auth["globalValidation"] = {} - existing_auth["globalValidation"]["redirectToProvider"] = redirect_provider - - if excluded_paths is not None: - if "globalValidation" not in existing_auth: - existing_auth["globalValidation"] = {} - existing_auth["globalValidation"]["excludedPaths"] = excluded_paths.split(",") + raw_parameters = locals() + containerapp_auth_decorator = ContainerAppAuthDecorator( + cmd=cmd, + client=AuthClient, + raw_parameters=raw_parameters, + models="azext_containerapp._sdk_models" + ) - existing_auth = update_http_settings_in_auth_settings(existing_auth, require_https, - proxy_convention, proxy_custom_host_header, - proxy_custom_proto_header) - try: - return AuthClient.create_or_update(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, auth_config_name="current", auth_config_envelope=existing_auth) - except Exception as e: - handle_raw_exception(e) + containerapp_auth_decorator.construct_payload() + return containerapp_auth_decorator.create_or_update() def show_auth_config(cmd, resource_group_name, name): - auth_settings = {} - try: - auth_settings = AuthClient.get(cmd=cmd, resource_group_name=resource_group_name, container_app_name=name, auth_config_name="current")["properties"] - except: - pass - return auth_settings + raw_parameters = locals() + containerapp_auth_decorator = ContainerAppAuthDecorator( + cmd=cmd, + client=AuthClient, + raw_parameters=raw_parameters, + models="azext_containerapp._sdk_models" + ) + + return containerapp_auth_decorator.show() # Compose From 283c7a0c8dc0febd75f8fd1b028c09b98b351103 Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Wed, 26 Jul 2023 12:36:04 +0800 Subject: [PATCH 2/4] add tests fpr auth --- .../containerapp_auth_decorator.py | 6 +- .../test_containerapp_auth_e2e.yaml | 3178 +++++++++++++++++ .../latest/test_containerapp_auth_commands.py | 77 + .../latest/test_containerapp_scenario.py | 7 - 4 files changed, 3257 insertions(+), 11 deletions(-) create mode 100644 src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml create mode 100644 src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py diff --git a/src/containerapp/azext_containerapp/containerapp_auth_decorator.py b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py index 83584ccae0d..0112df04c37 100644 --- a/src/containerapp/azext_containerapp/containerapp_auth_decorator.py +++ b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py @@ -18,8 +18,7 @@ def __init__(self, cmd: AzCliCommand, client: Any, raw_parameters: Dict, models: def show(self): auth_settings = {} try: - auth_settings = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), - auth_config_name="current")["properties"] + auth_settings = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), auth_config_name="current")["properties"] except: pass return auth_settings @@ -28,8 +27,7 @@ def construct_payload(self): from ._utils import set_field_in_auth_settings, update_http_settings_in_auth_settings self.existing_auth = {} try: - self.existing_auth = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), - auth_config_name="current")["properties"] + self.existing_auth = self.client.get(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), container_app_name=self.get_argument_name(), auth_config_name="current")["properties"] except: self.existing_auth["platform"] = {} self.existing_auth["platform"]["enabled"] = True diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml new file mode 100644 index 00000000000..750a82a8b34 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml @@ -0,0 +1,3178 @@ +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.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (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":"32edfac8-9211-4a17-b45c-3bd2c3505d16","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T04:33:42.6875985Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T05:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T04:33:42.6875985Z","modifiedDate":"2023-07-26T04:33:42.6875985Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '851' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:42 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.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (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":"32edfac8-9211-4a17-b45c-3bd2c3505d16","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T04:33:42.6875985Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T05:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T04:33:42.6875985Z","modifiedDate":"2023-07-26T04:33:42.6875985Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '851' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:43 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.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (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":"3zHg1rC7cmcJVp8GgiHLfVPRj+/Z1o+tJi6n/+vvt7jmQblC+u+s6C4muJphDn2hG1mxLUs69aO6+/NqwWG7dA==","secondarySharedKey":"Hx4HhCPKuWvxX1v8OkI/kXMRthQiYG6r0jCkh4gnmruUTb2U/sMO1UTAU7NpePEGKvbUM7kntr3LiYcBooBSRQ=="}' + 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: + - Wed, 26 Jul 2023 04:33:46 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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - 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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:46 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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - 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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": + null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", + "logAnalyticsConfiguration": {"customerId": "32edfac8-9211-4a17-b45c-3bd2c3505d16", + "sharedKey": "3zHg1rC7cmcJVp8GgiHLfVPRj+/Z1o+tJi6n/+vvt7jmQblC+u+s6C4muJphDn2hG1mxLUs69aO6+/NqwWG7dA=="}}, + "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.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '1566' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:33:54 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.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:33: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 + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:34: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:34: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 + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:34:09 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.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:34:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"Succeeded","startTime":"2023-07-26T04:33:54.6139925"}' + 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: + - Wed, 26 Jul 2023 04:34:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env create + Connection: + - keep-alive + ParameterSetName: + - -g -n --logs-workspace-id --logs-workspace-key + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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: + - Wed, 26 Jul 2023 04:34: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp env show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:19 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.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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: + - Wed, 26 Jul 2023 04:34: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:25 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 --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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: + - Wed, 26 Jul 2023 04:34:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34: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": "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": "containerapp-auth000003", "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: + - '943' + Content-Type: + - application/json + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769Z"},"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.253.37.169"],"latestRevisionName":"","latestReadyRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '2204' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:31 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 --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' + 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: + - Wed, 26 Jul 2023 04:34: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' + 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: + - Wed, 26 Jul 2023 04:34:36 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 --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' + 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: + - Wed, 26 Jul 2023 04:34: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"Succeeded","startTime":"2023-07-26T04:34:30.5804085"}' + 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: + - Wed, 26 Jul 2023 04:34: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 create + Connection: + - keep-alive + ParameterSetName: + - -g -n --environment --image --ingress --target-port + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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: + - '2346' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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: + - '2346' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34: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 auth microsoft update + Connection: + - keep-alive + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"error":{"code":"AuthConfigNotFound","message":"AuthConfig current + was not found under container app containerapp-auth000003."}}' + 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: + - '129' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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: + - '2346' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/listSecrets?api-version=2023-04-01-preview + response: + body: + string: '{"value":[]}' + 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: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:34: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-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003", + "name": "containerapp-auth000003", "type": "Microsoft.App/containerApps", "location": + "East US", "systemData": {"createdBy": "xinyupang@microsoft.com", "createdByType": + "User", "createdAt": "2023-07-26T04:34:30.4151769", "lastModifiedBy": "xinyupang@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-07-26T04:34:30.4151769"}, + "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.253.37.169"], "latestRevisionName": + "containerapp-auth000003--rhyw7wn", "latestReadyRevisionName": "containerapp-auth000003--rhyw7wn", + "latestRevisionFqdn": "containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io", + "customDomainVerificationId": "D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00", + "configuration": {"secrets": [{"name": "microsoft-provider-authentication-secret", + "value": "c0d23eb5-ea9f-4a4d-9519-bfa0a422c491", "keyVaultUrl": "", "identity": + ""}], "activeRevisionsMode": "Single", "ingress": {"fqdn": "containerapp-auth000003.jollycliff-f88e8b07.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": + "containerapp-auth000003", "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/containerapp-auth000003/eventstream"}, + "identity": {"type": "None"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + Content-Length: + - '2597' + Content-Type: + - application/json + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:35:00.1809593Z"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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/54596a95-9ab6-47cb-a6af-283e52c3560f?api-version=2023-04-01-preview&azureAsyncOperation=true + cache-control: + - no-cache + content-length: + - '2397' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:01 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: '{"properties": {"platform": {"enabled": true}, "globalValidation": {}, + "login": {}, "identityProviders": {"azureActiveDirectory": {"registration": + {"clientId": "c0d23eb5-ea9f-4a4d-9519-bfa0a422c491", "clientSecretSettingName": + "microsoft-provider-authentication-secret", "openIdIssuer": "https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/"}}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth microsoft update + Connection: + - keep-alive + Content-Length: + - '355' + Content-Type: + - application/json + ParameterSetName: + - -g --name --client-id --client-secret --issuer --yes + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '712' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35: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-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp secret list + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:05 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 secret list + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:35:00.1809593"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/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: + - '2396' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35: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 auth show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '712' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:08 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 auth update + Connection: + - keep-alive + ParameterSetName: + - -g -n --unauthenticated-client-action + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '712' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:10 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": {"platform": {"enabled": true}, "globalValidation": {"unauthenticatedClientAction": + "AllowAnonymous"}, "identityProviders": {"azureActiveDirectory": {"registration": + {"openIdIssuer": "https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/", + "clientId": "c0d23eb5-ea9f-4a4d-9519-bfa0a422c491", "clientSecretSettingName": + "microsoft-provider-authentication-secret"}, "validation": {"defaultAuthorizationPolicy": + {"allowedApplications": []}}, "isAutoProvisioned": false}}, "login": {"preserveUrlFragmentsForLogins": + false}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth update + Connection: + - keep-alive + Content-Length: + - '543' + Content-Type: + - application/json + ParameterSetName: + - -g -n --unauthenticated-client-action + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{"unauthenticatedClientAction":"AllowAnonymous"},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{"unauthenticatedClientAction":"AllowAnonymous"},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35: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 auth update + Connection: + - keep-alive + ParameterSetName: + - -g -n --proxy-convention --redirect-provider --unauthenticated-client-action + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{"unauthenticatedClientAction":"AllowAnonymous"},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":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: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding,Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"platform": {"enabled": true}, "globalValidation": {"unauthenticatedClientAction": + "AllowAnonymous", "redirectToProvider": "Facebook"}, "identityProviders": {"azureActiveDirectory": + {"registration": {"openIdIssuer": "https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/", + "clientId": "c0d23eb5-ea9f-4a4d-9519-bfa0a422c491", "clientSecretSettingName": + "microsoft-provider-authentication-secret"}, "validation": {"defaultAuthorizationPolicy": + {"allowedApplications": []}}, "isAutoProvisioned": false}}, "login": {"preserveUrlFragmentsForLogins": + false}, "httpSettings": {"forwardProxy": {"convention": "Standard"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp auth update + Connection: + - keep-alive + Content-Length: + - '639' + Content-Type: + - application/json + ParameterSetName: + - -g -n --proxy-convention --redirect-provider --unauthenticated-client-action + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003/authConfigs/current","name":"current","type":"Microsoft.App/containerapps/authconfigs","properties":{"platform":{"enabled":true},"globalValidation":{"unauthenticatedClientAction":"AllowAnonymous","redirectToProvider":"Facebook"},"identityProviders":{"azureActiveDirectory":{"registration":{"openIdIssuer":"https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/","clientId":"c0d23eb5-ea9f-4a4d-9519-bfa0a422c491","clientSecretSettingName":"microsoft-provider-authentication-secret"},"validation":{"defaultAuthorizationPolicy":{"allowedApplications":[]}},"isAutoProvisioned":false}},"login":{"preserveUrlFragmentsForLogins":false},"httpSettings":{"forwardProxy":{"convention":"Standard"}}}}' + 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: + - '848' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 04:35: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-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py new file mode 100644 index 00000000000..ecede563a46 --- /dev/null +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py @@ -0,0 +1,77 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from azure.cli.testsdk.scenario_tests import AllowLargeResponse +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, JMESPathCheck) + +from .common import TEST_LOCATION +from .utils import create_containerapp_env + + +class ContainerAppAuthTest(ScenarioTest): + @AllowLargeResponse(8192) + @ResourceGroupPreparer(location=TEST_LOCATION) + def test_containerapp_auth_e2e(self, resource_group): + self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) + env = self.create_random_name(prefix='containerapp-env', length=24) + app = self.create_random_name(prefix='containerapp-auth', length=24) + + create_containerapp_env(self, env, resource_group) + + self.cmd('containerapp create -g {} -n {} --environment {} --image mcr.microsoft.com/k8se/quickstart:latest --ingress external --target-port 80'.format(resource_group, app, env)) + + client_id = 'c0d23eb5-ea9f-4a4d-9519-bfa0a422c491' + client_secret = 'c0d23eb5-ea9f-4a4d-9519-bfa0a422c491' + issuer = 'https://sts.windows.net/54826b22-38d6-4fb2-bad9-b7983a3e9c5a/' + + self.cmd( + 'containerapp auth microsoft update -g {} --name {} --client-id {} --client-secret {} --issuer {} --yes' + .format(resource_group, app, client_id, client_secret, issuer), checks=[ + JMESPathCheck('registration.clientId', client_id), + JMESPathCheck('registration.clientSecretSettingName', + "microsoft-provider-authentication-secret"), + JMESPathCheck('registration.openIdIssuer', issuer), + ]) + + self.cmd('containerapp secret list -g {} -n {}'.format(resource_group, app), checks=[ + JMESPathCheck('length(@)', 1), + JMESPathCheck('[0].name', "microsoft-provider-authentication-secret") + ]) + + self.cmd('containerapp auth show -g {} -n {}'.format(resource_group, app), checks=[ + JMESPathCheck('identityProviders.azureActiveDirectory.registration.clientId', client_id), + JMESPathCheck('identityProviders.azureActiveDirectory.registration.clientSecretSettingName', + "microsoft-provider-authentication-secret"), + JMESPathCheck('identityProviders.azureActiveDirectory.registration.openIdIssuer', issuer), + ]) + + self.cmd('containerapp auth update -g {} -n {} --unauthenticated-client-action AllowAnonymous'.format(resource_group, app), checks=[ + JMESPathCheck('name', "current"), + JMESPathCheck('properties.globalValidation.unauthenticatedClientAction', "AllowAnonymous"), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.clientId', client_id), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.clientSecretSettingName', + "microsoft-provider-authentication-secret"), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.openIdIssuer', issuer), + ]) + + self.cmd('containerapp auth show -g {} -n {}'.format(resource_group, app), checks=[ + JMESPathCheck('globalValidation.unauthenticatedClientAction', "AllowAnonymous"), + JMESPathCheck('identityProviders.azureActiveDirectory.registration.clientId', client_id), + JMESPathCheck('identityProviders.azureActiveDirectory.registration.clientSecretSettingName', + "microsoft-provider-authentication-secret"), + JMESPathCheck('identityProviders.azureActiveDirectory.registration.openIdIssuer', issuer), + ]) + + self.cmd('containerapp auth update -g {} -n {} --proxy-convention Standard --redirect-provider Facebook --unauthenticated-client-action AllowAnonymous'.format( + resource_group, app), checks=[ + JMESPathCheck('name', 'current'), + JMESPathCheck('properties.httpSettings.forwardProxy.convention', 'Standard'), + JMESPathCheck('properties.globalValidation.redirectToProvider', 'Facebook'), + JMESPathCheck('properties.globalValidation.unauthenticatedClientAction', 'AllowAnonymous'), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.clientId', client_id), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.clientSecretSettingName', "microsoft-provider-authentication-secret"), + JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.openIdIssuer', issuer), + ]) diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_scenario.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_scenario.py index 38241a766ce..a17afbef262 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_scenario.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_scenario.py @@ -87,13 +87,6 @@ def test_containerapp_e2e(self, resource_group): JMESPathCheck('length(properties.configuration.secrets)', 2) ]) - self.cmd('containerapp auth update -g {} -n {} --proxy-convention Standard --redirect-provider Facebook --unauthenticated-client-action AllowAnonymous'.format(resource_group, containerapp_name), checks=[ - JMESPathCheck('name', 'current'), - JMESPathCheck('properties.httpSettings.forwardProxy.convention', 'Standard'), - JMESPathCheck('properties.globalValidation.redirectToProvider', 'Facebook'), - JMESPathCheck('properties.globalValidation.unauthenticatedClientAction', 'AllowAnonymous') - ]) - # TODO rename @AllowLargeResponse(8192) From 7c39d70ff16e0bfb8bb4cd9f59aee32c86e67744 Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Wed, 26 Jul 2023 13:21:23 +0800 Subject: [PATCH 3/4] fix static analysis --- .../azext_containerapp/containerapp_auth_decorator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containerapp/azext_containerapp/containerapp_auth_decorator.py b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py index 0112df04c37..b09f85fe7eb 100644 --- a/src/containerapp/azext_containerapp/containerapp_auth_decorator.py +++ b/src/containerapp/azext_containerapp/containerapp_auth_decorator.py @@ -73,8 +73,8 @@ def construct_payload(self): def create_or_update(self): try: return self.client.create_or_update(cmd=self.cmd, resource_group_name=self.get_argument_resource_group_name(), - container_app_name=self.get_argument_name(), auth_config_name="current", - auth_config_envelope=self.existing_auth) + container_app_name=self.get_argument_name(), auth_config_name="current", + auth_config_envelope=self.existing_auth) except Exception as e: handle_raw_exception(e) From cbd6e8115a77d2b68cf1dec513e57594da2c181a Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Wed, 26 Jul 2023 13:45:22 +0800 Subject: [PATCH 4/4] test check provisioning state --- .../test_containerapp_auth_e2e.yaml | 438 ++++++++++++------ .../latest/test_containerapp_auth_commands.py | 4 + 2 files changed, 295 insertions(+), 147 deletions(-) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml index 750a82a8b34..b2555fe7bbd 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_auth_e2e.yaml @@ -23,7 +23,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T04:33:42.6875985Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T05:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T04:33:42.6875985Z","modifiedDate":"2023-07-26T04:33:42.6875985Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T05:42:32.5615537Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T05:42:32.5615537Z","modifiedDate":"2023-07-26T05:42:32.5615537Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -36,7 +36,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:42 GMT + - Wed, 26 Jul 2023 05:42:32 GMT expires: - '-1' location: @@ -75,7 +75,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T04:33:42.6875985Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T05:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T04:33:42.6875985Z","modifiedDate":"2023-07-26T04:33:42.6875985Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-26T05:42:32.5615537Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-26T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-26T05:42:32.5615537Z","modifiedDate":"2023-07-26T05:42:32.5615537Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' headers: access-control-allow-origin: - '*' @@ -88,7 +88,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:43 GMT + - Wed, 26 Jul 2023 05:42:33 GMT expires: - '-1' pragma: @@ -129,7 +129,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 response: body: - string: '{"primarySharedKey":"3zHg1rC7cmcJVp8GgiHLfVPRj+/Z1o+tJi6n/+vvt7jmQblC+u+s6C4muJphDn2hG1mxLUs69aO6+/NqwWG7dA==","secondarySharedKey":"Hx4HhCPKuWvxX1v8OkI/kXMRthQiYG6r0jCkh4gnmruUTb2U/sMO1UTAU7NpePEGKvbUM7kntr3LiYcBooBSRQ=="}' + string: '{"primarySharedKey":"U017sZj7ibN4wvIMwsjBoE2r0KHHEuj/q5WtgNXhT7AzPKOsGpaaPt1vMrvTW4WE249B8qq56VMgCpi8fyRt5g==","secondarySharedKey":"c9xpqRJwyDmOSlKUM04rhnN+ugNmgh21R1KPbHXCJS+MCZDj9iJYyRhdqF0cB037rag0naZPvtjl3ipydm65iQ=="}' headers: access-control-allow-origin: - '*' @@ -142,7 +142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:46 GMT + - Wed, 26 Jul 2023 05:42:34 GMT expires: - '-1' pragma: @@ -293,7 +293,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:47 GMT + - Wed, 26 Jul 2023 05:42:36 GMT expires: - '-1' pragma: @@ -436,7 +436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:46 GMT + - Wed, 26 Jul 2023 05:42:36 GMT expires: - '-1' pragma: @@ -579,7 +579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:47 GMT + - Wed, 26 Jul 2023 05:42:36 GMT expires: - '-1' pragma: @@ -722,7 +722,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:47 GMT + - Wed, 26 Jul 2023 05:42:37 GMT expires: - '-1' pragma: @@ -739,8 +739,8 @@ interactions: - request: body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", - "logAnalyticsConfiguration": {"customerId": "32edfac8-9211-4a17-b45c-3bd2c3505d16", - "sharedKey": "3zHg1rC7cmcJVp8GgiHLfVPRj+/Z1o+tJi6n/+vvt7jmQblC+u+s6C4muJphDn2hG1mxLUs69aO6+/NqwWG7dA=="}}, + "logAnalyticsConfiguration": {"customerId": "40a12bea-18fe-45c4-8814-07d153049fe4", + "sharedKey": "U017sZj7ibN4wvIMwsjBoE2r0KHHEuj/q5WtgNXhT7AzPKOsGpaaPt1vMrvTW4WE249B8qq56VMgCpi8fyRt5g=="}}, "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": false}}' headers: @@ -765,21 +765,21 @@ interactions: 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:42:39.2428968Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:42:39.2428968Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"calmdune-4051d9ec.eastus.azurecontainerapps.io","staticIp":"20.241.251.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '1566' + - '1567' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:54 GMT + - Wed, 26 Jul 2023 05:42:42 GMT expires: - '-1' pragma: @@ -815,10 +815,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"InProgress","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -830,7 +830,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:33:56 GMT + - Wed, 26 Jul 2023 05:42:44 GMT expires: - '-1' pragma: @@ -866,10 +866,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"InProgress","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -881,7 +881,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:01 GMT + - Wed, 26 Jul 2023 05:42:48 GMT expires: - '-1' pragma: @@ -917,10 +917,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"InProgress","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -932,7 +932,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:04 GMT + - Wed, 26 Jul 2023 05:42:52 GMT expires: - '-1' pragma: @@ -968,10 +968,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"InProgress","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -983,7 +983,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:09 GMT + - Wed, 26 Jul 2023 05:42:56 GMT expires: - '-1' pragma: @@ -1019,10 +1019,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"InProgress","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"InProgress","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1034,7 +1034,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:13 GMT + - Wed, 26 Jul 2023 05:42:59 GMT expires: - '-1' pragma: @@ -1070,10 +1070,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/30ddb253-4c07-4619-b770-4a4dd50a2ecd","name":"30ddb253-4c07-4619-b770-4a4dd50a2ecd","status":"Succeeded","startTime":"2023-07-26T04:33:54.6139925"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/d6dea9e1-1671-4846-b859-e6dee44094a5","name":"d6dea9e1-1671-4846-b859-e6dee44094a5","status":"Succeeded","startTime":"2023-07-26T05:42:42.8763895"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1085,7 +1085,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:17 GMT + - Wed, 26 Jul 2023 05:43:08 GMT expires: - '-1' pragma: @@ -1125,7 +1125,7 @@ interactions: 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:42:39.2428968","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:42:39.2428968"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"calmdune-4051d9ec.eastus.azurecontainerapps.io","staticIp":"20.241.251.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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, @@ -1133,11 +1133,11 @@ interactions: cache-control: - no-cache content-length: - - '1566' + - '1567' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:19 GMT + - Wed, 26 Jul 2023 05:43:10 GMT expires: - '-1' pragma: @@ -1286,7 +1286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:19 GMT + - Wed, 26 Jul 2023 05:43:11 GMT expires: - '-1' pragma: @@ -1320,7 +1320,7 @@ interactions: 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:42:39.2428968","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:42:39.2428968"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"calmdune-4051d9ec.eastus.azurecontainerapps.io","staticIp":"20.241.251.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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, @@ -1328,11 +1328,11 @@ interactions: cache-control: - no-cache content-length: - - '1566' + - '1567' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:22 GMT + - Wed, 26 Jul 2023 05:43:13 GMT expires: - '-1' pragma: @@ -1481,7 +1481,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:25 GMT + - Wed, 26 Jul 2023 05:43:14 GMT expires: - '-1' pragma: @@ -1515,7 +1515,7 @@ interactions: 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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:33:49.691683","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:33:49.691683"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"jollycliff-f88e8b07.eastus.azurecontainerapps.io","staticIp":"20.253.36.209","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"32edfac8-9211-4a17-b45c-3bd2c3505d16","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:42:39.2428968","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:42:39.2428968"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"calmdune-4051d9ec.eastus.azurecontainerapps.io","staticIp":"20.241.251.188","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"40a12bea-18fe-45c4-8814-07d153049fe4","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","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, @@ -1523,11 +1523,11 @@ interactions: cache-control: - no-cache content-length: - - '1566' + - '1567' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:28 GMT + - Wed, 26 Jul 2023 05:43:16 GMT expires: - '-1' pragma: @@ -1676,7 +1676,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:28 GMT + - Wed, 26 Jul 2023 05:43:17 GMT expires: - '-1' pragma: @@ -1724,21 +1724,21 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769Z"},"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.253.37.169"],"latestRevisionName":"","latestReadyRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:18.4010215Z"},"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.253.120.255"],"latestRevisionName":"","latestReadyRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577?api-version=2023-04-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '2204' + - '2203' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:31 GMT + - Wed, 26 Jul 2023 05:43:20 GMT expires: - '-1' pragma: @@ -1774,10 +1774,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577","name":"8006b89c-9336-4dd4-a440-0f88984ca577","status":"InProgress","startTime":"2023-07-26T05:43:19.7379047"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1789,7 +1789,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:33 GMT + - Wed, 26 Jul 2023 05:43:21 GMT expires: - '-1' pragma: @@ -1825,10 +1825,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577","name":"8006b89c-9336-4dd4-a440-0f88984ca577","status":"InProgress","startTime":"2023-07-26T05:43:19.7379047"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1840,7 +1840,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:36 GMT + - Wed, 26 Jul 2023 05:43:24 GMT expires: - '-1' pragma: @@ -1876,61 +1876,10 @@ interactions: User-Agent: - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577?api-version=2023-04-01-preview&azureAsyncOperation=true response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"InProgress","startTime":"2023-07-26T04:34:30.5804085"}' - 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: - - Wed, 26 Jul 2023 04:34: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 create - Connection: - - keep-alive - ParameterSetName: - - -g -n --environment --image --ingress --target-port - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/f4642f21-afc3-4387-a1ba-1939081fa570","name":"f4642f21-afc3-4387-a1ba-1939081fa570","status":"Succeeded","startTime":"2023-07-26T04:34:30.5804085"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/8006b89c-9336-4dd4-a440-0f88984ca577","name":"8006b89c-9336-4dd4-a440-0f88984ca577","status":"Succeeded","startTime":"2023-07-26T05:43:19.7379047"}' headers: api-supported-versions: - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, @@ -1942,7 +1891,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:45 GMT + - Wed, 26 Jul 2023 05:43:29 GMT expires: - '-1' pragma: @@ -1982,7 +1931,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:18.4010215"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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, @@ -1990,11 +1939,11 @@ interactions: cache-control: - no-cache content-length: - - '2346' + - '2343' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:48 GMT + - Wed, 26 Jul 2023 05:43:31 GMT expires: - '-1' pragma: @@ -2143,7 +2092,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:49 GMT + - Wed, 26 Jul 2023 05:43:31 GMT expires: - '-1' pragma: @@ -2177,7 +2126,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:18.4010215"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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, @@ -2185,11 +2134,11 @@ interactions: cache-control: - no-cache content-length: - - '2346' + - '2343' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:51 GMT + - Wed, 26 Jul 2023 05:43:34 GMT expires: - '-1' pragma: @@ -2241,7 +2190,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:53 GMT + - Wed, 26 Jul 2023 05:43:35 GMT expires: - '-1' pragma: @@ -2386,7 +2335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:53 GMT + - Wed, 26 Jul 2023 05:43:35 GMT expires: - '-1' pragma: @@ -2420,7 +2369,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:34:30.4151769"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:18.4010215"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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, @@ -2428,11 +2377,11 @@ interactions: cache-control: - no-cache content-length: - - '2346' + - '2343' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:55 GMT + - Wed, 26 Jul 2023 05:43:38 GMT expires: - '-1' pragma: @@ -2485,7 +2434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:34:58 GMT + - Wed, 26 Jul 2023 05:43:40 GMT expires: - '-1' pragma: @@ -2511,18 +2460,18 @@ interactions: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003", "name": "containerapp-auth000003", "type": "Microsoft.App/containerApps", "location": "East US", "systemData": {"createdBy": "xinyupang@microsoft.com", "createdByType": - "User", "createdAt": "2023-07-26T04:34:30.4151769", "lastModifiedBy": "xinyupang@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2023-07-26T04:34:30.4151769"}, + "User", "createdAt": "2023-07-26T05:43:18.4010215", "lastModifiedBy": "xinyupang@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-07-26T05:43:18.4010215"}, "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.253.37.169"], "latestRevisionName": - "containerapp-auth000003--rhyw7wn", "latestReadyRevisionName": "containerapp-auth000003--rhyw7wn", - "latestRevisionFqdn": "containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io", + "workloadProfileName": null, "outboundIpAddresses": ["20.253.120.255"], "latestRevisionName": + "containerapp-auth000003--pi2vpmn", "latestReadyRevisionName": "containerapp-auth000003--pi2vpmn", + "latestRevisionFqdn": "containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io", "customDomainVerificationId": "D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00", "configuration": {"secrets": [{"name": "microsoft-provider-authentication-secret", "value": "c0d23eb5-ea9f-4a4d-9519-bfa0a422c491", "keyVaultUrl": "", "identity": - ""}], "activeRevisionsMode": "Single", "ingress": {"fqdn": "containerapp-auth000003.jollycliff-f88e8b07.eastus.azurecontainerapps.io", + ""}], "activeRevisionsMode": "Single", "ingress": {"fqdn": "containerapp-auth000003.calmdune-4051d9ec.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": @@ -2544,7 +2493,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2597' + - '2594' Content-Type: - application/json ParameterSetName: @@ -2556,21 +2505,21 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:35:00.1809593Z"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:42.2330287Z"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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/54596a95-9ab6-47cb-a6af-283e52c3560f?api-version=2023-04-01-preview&azureAsyncOperation=true + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/9a5a3228-4b47-4d2b-8e8b-f44a9757b6f0?api-version=2023-04-01-preview&azureAsyncOperation=true cache-control: - no-cache content-length: - - '2397' + - '2394' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:01 GMT + - Wed, 26 Jul 2023 05:43:43 GMT expires: - '-1' pragma: @@ -2628,7 +2577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:04 GMT + - Wed, 26 Jul 2023 05:43:45 GMT expires: - '-1' pragma: @@ -2644,7 +2593,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -2779,7 +2728,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:05 GMT + - Wed, 26 Jul 2023 05:43:45 GMT expires: - '-1' pragma: @@ -2813,7 +2762,7 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T04:34:30.4151769","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T04:35:00.1809593"},"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.253.37.169"],"latestRevisionName":"containerapp-auth000003--rhyw7wn","latestReadyRevisionName":"containerapp-auth000003--rhyw7wn","latestRevisionFqdn":"containerapp-auth000003--rhyw7wn.jollycliff-f88e8b07.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.jollycliff-f88e8b07.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":"containerapp-auth000003","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/containerapp-auth000003/eventstream"},"identity":{"type":"None"}}' + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:42.2330287"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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, @@ -2821,11 +2770,11 @@ interactions: cache-control: - no-cache content-length: - - '2396' + - '2393' content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:07 GMT + - Wed, 26 Jul 2023 05:43:47 GMT expires: - '-1' pragma: @@ -2876,7 +2825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:08 GMT + - Wed, 26 Jul 2023 05:43:50 GMT expires: - '-1' pragma: @@ -2927,7 +2876,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:10 GMT + - Wed, 26 Jul 2023 05:43:51 GMT expires: - '-1' pragma: @@ -2988,7 +2937,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:12 GMT + - Wed, 26 Jul 2023 05:43:54 GMT expires: - '-1' pragma: @@ -3041,7 +2990,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:14 GMT + - Wed, 26 Jul 2023 05:43:56 GMT expires: - '-1' pragma: @@ -3092,7 +3041,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:17 GMT + - Wed, 26 Jul 2023 05:43:58 GMT expires: - '-1' pragma: @@ -3153,7 +3102,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 26 Jul 2023 04:35:19 GMT + - Wed, 26 Jul 2023 05:44:00 GMT expires: - '-1' pragma: @@ -3169,7 +3118,202 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - containerapp show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (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":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East + US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden + Central","Canada Central","West Europe","North Europe","East US","East US + 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West + US","Central US","North Central US","South Central US","Korea Central","Brazil + South","West US 3","France Central","South Africa North","Norway East","Switzerland + North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East + US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central + US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast + Asia","Sweden Central","Canada Central","West Europe","North Europe","East + US","East US 2","East Asia","Australia East","Germany West Central","Japan + East","UK South","West US","Central US","North Central US","South Central + US","Korea Central","Brazil South","West US 3","France Central","South Africa + North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '12831' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 05:44:01 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 show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-auth000003?api-version=2023-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp-auth000003","name":"containerapp-auth000003","type":"Microsoft.App/containerApps","location":"East + US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-26T05:43:18.4010215","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-26T05:43:42.2330287"},"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.253.120.255"],"latestRevisionName":"containerapp-auth000003--pi2vpmn","latestReadyRevisionName":"containerapp-auth000003--pi2vpmn","latestRevisionFqdn":"containerapp-auth000003--pi2vpmn.calmdune-4051d9ec.eastus.azurecontainerapps.io","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":[{"name":"microsoft-provider-authentication-secret"}],"activeRevisionsMode":"Single","ingress":{"fqdn":"containerapp-auth000003.calmdune-4051d9ec.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":"containerapp-auth000003","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/containerapp-auth000003/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: + - '2392' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jul 2023 05:44: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: diff --git a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py index ecede563a46..e372ecdad69 100644 --- a/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py +++ b/src/containerapp/azext_containerapp/tests/latest/test_containerapp_auth_commands.py @@ -75,3 +75,7 @@ def test_containerapp_auth_e2e(self, resource_group): JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.clientSecretSettingName', "microsoft-provider-authentication-secret"), JMESPathCheck('properties.identityProviders.azureActiveDirectory.registration.openIdIssuer', issuer), ]) + + self.cmd('containerapp show -g {} -n {}'.format(resource_group, app), checks=[ + JMESPathCheck('properties.provisioningState', "Succeeded") + ])